Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kimachinskiy committed Oct 4, 2023
1 parent 342a96a commit f947799
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions forum/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@
# https://docs.djangoproject.com/en/4.1/howto/static-files/


STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'public/static')
MEDIA_URL = os.path.join(BASE_DIR, 'public/media')
MEDIA_ROOT = '/media/'

STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'public/static'),
)
STATIC_URL = 'static/'
STATIC_ROOT = '/home/forum/app/public/static/'
MEDIA_URL = 'media/'
MEDIA_ROOT = '/home/forum/app/public/media/'

# STATICFILES_DIRS = (
# os.path.join(BASE_DIR, 'public/static'),
# )

# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
Expand Down

0 comments on commit f947799

Please sign in to comment.