Commit d3c3d737 authored by lizonr1's avatar lizonr1

Add static root

parent 5a6951ad
...@@ -141,4 +141,8 @@ STATIC_URL = '/static/' ...@@ -141,4 +141,8 @@ STATIC_URL = '/static/'
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
APPEND_SLASH = False APPEND_SLASH = False
\ No newline at end of file PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment