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 7508614 commit 342a96a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions forum/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@
# 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/'
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, 'static'),
os.path.join(BASE_DIR, 'public/static'),
)

# Default primary key field type
Expand Down

0 comments on commit 342a96a

Please sign in to comment.