Skip to content
Snippets Groups Projects
Commit 786a6c02 authored by Marc Feger's avatar Marc Feger
Browse files

Add the DEFAULT_AUTO_FIELD which was previously deleted

parent c4b77a42
No related branches found
No related tags found
1 merge request!2Merge feedingChickenWithChicken into main
Pipeline #75191 passed
...@@ -133,3 +133,8 @@ REST_FRAMEWORK = { ...@@ -133,3 +133,8 @@ REST_FRAMEWORK = {
# Folder to store media data # Folder to store media data
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment