add a required setting for primary keys

This commit is contained in:
Andreas Zweili 2021-12-30 19:06:34 +01:00
parent cd757ab386
commit e4ad765b63
1 changed files with 2 additions and 0 deletions

View File

@ -129,3 +129,5 @@ STATIC_ROOT = os.path.join(BASE_DIR, "..", "static")
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap4.html"
CRISPY_TEMPLATE_PACK = 'bootstrap4'
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'