mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
b5e12d490a
This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
11 lines
224 B
Python
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'
|