2020-07-12 12:59:57 +00:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
class ModelDefaultPKConfig(AppConfig):
|
2022-02-03 19:24:19 +00:00
|
|
|
name = "model_options"
|
2020-07-12 12:59:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModelPKConfig(AppConfig):
|
2022-02-03 19:24:19 +00:00
|
|
|
name = "model_options"
|
|
|
|
default_auto_field = "django.db.models.SmallAutoField"
|
2020-07-12 12:59:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModelPKNonAutoConfig(AppConfig):
|
2022-02-03 19:24:19 +00:00
|
|
|
name = "model_options"
|
|
|
|
default_auto_field = "django.db.models.TextField"
|
2020-07-12 12:59:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModelPKNoneConfig(AppConfig):
|
2022-02-03 19:24:19 +00:00
|
|
|
name = "model_options"
|
2020-07-12 12:59:57 +00:00
|
|
|
default_auto_field = None
|
|
|
|
|
|
|
|
|
|
|
|
class ModelPKNonexistentConfig(AppConfig):
|
2022-02-03 19:24:19 +00:00
|
|
|
name = "model_options"
|
|
|
|
default_auto_field = "django.db.models.NonexistentAutoField"
|