Define default auto field for Django 3.2
This commit is contained in:
parent
cce5e7c33c
commit
7515c2bec6
|
@ -190,6 +190,8 @@ MEDIA_URL = '/media/'
|
|||
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
||||
|
||||
DJANGO_TABLES2_TEMPLATE = 'django_tables2/bootstrap4.html'
|
||||
|
|
Loading…
Reference in New Issue