File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212import warnings
1313from typing import Any , Dict , List , Tuple # pyflakes:ignore
1414
15+ import django .db .models
16+
1517warnings .simplefilter ("always" , DeprecationWarning )
1618warnings .filterwarnings ("ignore" , message = "'urllib3\\ [secure\\ ]' extra is deprecated" )
1719warnings .filterwarnings ("ignore" , message = "The logout\\ (\\ ) view is superseded by" )
102104
103105USE_TZ = True
104106
107+ # Default primary key field type to use for models that don’t have a field with primary_key=True.
108+ # In the future (relative to 4.2), the default will become 'django.db.models.BigAutoField.'
109+ DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
110+
111+
105112if SERVER_MODE == 'production' :
106113 MEDIA_ROOT = '/a/www/www6s/lib/dt/media/'
107114 MEDIA_URL = 'https://www.ietf.org/lib/dt/media/'
You can’t perform that action at this time.
0 commit comments