0
0
mirror of https://github.com/django/django.git synced 2024-11-22 11:57:34 +01:00
django/tests/model_options/apps.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
576 B
Python
Raw Normal View History

from django.apps import AppConfig
class ModelDefaultPKConfig(AppConfig):
name = "model_options"
class ModelPKConfig(AppConfig):
name = "model_options"
default_auto_field = "django.db.models.SmallAutoField"
class ModelPKNonAutoConfig(AppConfig):
name = "model_options"
default_auto_field = "django.db.models.TextField"
class ModelPKNoneConfig(AppConfig):
name = "model_options"
default_auto_field = None
class ModelPKNonexistentConfig(AppConfig):
name = "model_options"
default_auto_field = "django.db.models.NonexistentAutoField"