Add: default field type
This commit is contained in:
parent
6beedc9c56
commit
57c3bb99ef
1 changed files with 5 additions and 0 deletions
|
@ -179,8 +179,13 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
|
|
||||||
|
#############################################################
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
||||||
|
#############################################################
|
||||||
|
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
|
||||||
# Allow embedding in iframes from the same origin
|
# Allow embedding in iframes from the same origin
|
||||||
X_FRAME_OPTIONS = 'SAMEORIGIN'
|
X_FRAME_OPTIONS = 'SAMEORIGIN'
|
||||||
|
|
Loading…
Reference in a new issue