tiffank1802 commited on
Commit ·
b339aa2
1
Parent(s): fcdb357
fix: Add DEFAULT_AUTO_FIELD to suppress Django warnings
Browse files- enise_site/settings.py +4 -0
enise_site/settings.py
CHANGED
|
@@ -144,6 +144,10 @@ USE_I18N = True
|
|
| 144 |
|
| 145 |
USE_TZ = True
|
| 146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
|
| 148 |
# Static files (CSS, JavaScript, Images)
|
| 149 |
# https://docs.djangoproject.com/en/6.0/howto/static-files/
|
|
|
|
| 144 |
|
| 145 |
USE_TZ = True
|
| 146 |
|
| 147 |
+
# Default primary key field type
|
| 148 |
+
# https://docs.djangoproject.com/en/6.0/ref/settings/#default-auto-field
|
| 149 |
+
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
| 150 |
+
|
| 151 |
|
| 152 |
# Static files (CSS, JavaScript, Images)
|
| 153 |
# https://docs.djangoproject.com/en/6.0/howto/static-files/
|