Add DEFAULT_AUTO_FIELD
This commit is contained in:
1 parent
55c0a3453f
commit
87a67dab07
1 file changed
+2
@@ -23,6 +23,8 @@ SITE_ID = 1
|
||||
USE_I18N = True
|
||||
USE_L10N = True
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
MEDIA_URL = '/media/'
|
||||
ADMIN_MEDIA_PREFIX = '/media/'
|
||||
|
||||
Reference in new issue
Block a user