Add DefaultAutoField to settings, for Django 3.2

This commit is contained in:
2021-07-22 06:40:56 +02:00
parent 04c17ec211
commit c323ba6d93
+1
View File
@@ -124,5 +124,6 @@ STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "static") STATIC_ROOT = os.path.join(BASE_DIR, "static")
LOGIN_REDIRECT_URL = '/home/' LOGIN_REDIRECT_URL = '/home/'
LOGOUT_REDIRECT_URL = '/home/' LOGOUT_REDIRECT_URL = '/home/'
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
from .settings_local import * from .settings_local import *