config fix for staticfiles
This commit is contained in:
1 parent
550c113f7f
commit
2db88970ed
2 files changed
+3
-1
No files matched your search
@@ -175,7 +175,7 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/4.2/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
|
||||
STATIC_ROOT = BASE_DIR / 'staticfiles'
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from .base import *
|
||||
MEDIA_ROOT = BASE_DIR / 'mediafiles'
|
||||
DEBUG = False
|
||||
DATABASES = {
|
||||
'default': {
|
||||
@@ -10,3 +11,4 @@ DATABASES = {
|
||||
'PORT': '5432'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user