1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/check_framework/apps.py
Tom Forbes b5e12d490a Fixed #31007 -- Allowed specifying type of auto-created primary keys.
This also changes the default type of auto-created primary keys
for new apps and projects to BigAutoField.
2020-12-15 11:25:46 +01:00

11 lines
224 B
Python

from django.apps import AppConfig
class CheckDefaultPKConfig(AppConfig):
name = 'check_framework'
class CheckPKConfig(AppConfig):
name = 'check_framework'
default_auto_field = 'django.db.models.BigAutoField'