Skip to content

Instantly share code, notes, and snippets.

@kjmczk
Last active May 23, 2019 05:27
Show Gist options
  • Save kjmczk/5d9714719084a7d75a0936fe7a8ea4aa to your computer and use it in GitHub Desktop.
Save kjmczk/5d9714719084a7d75a0936fe7a8ea4aa to your computer and use it in GitHub Desktop.
Django iSettings 4 - Blog
MEDIA_ROOT = os.path.join(BASE_DIR, 'staticfiles', 'media_root')
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles', 'static_root')
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment