1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:42:23 +00:00

Define default auto field for Django 3.2

This commit is contained in:
Yohann D'ANELLO 2022-02-04 15:25:40 +01:00
parent cce5e7c33c
commit 7515c2bec6
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -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'