Add DEFAULT_AUTO_FIELD to settings for explicit PK field
This commit is contained in:
1 parent
c988ee3d51
commit
062c60cd31
1 file changed
+2
@@ -149,3 +149,5 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/2.1/howto/static-files/
|
||||
|
||||
STATIC_URL = "/static/"
|
||||
|
||||
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||
Reference in new issue
Block a user