always serve static files, if behind nginx/apache those are not handed down
This commit is contained in:
parent
af2c26a36a
commit
0ed8c805c7
2 changed files with 8 additions and 10 deletions
|
|
@ -42,7 +42,6 @@ APPEND_SLASH = False
|
|||
# Example: "/home/media/media.lawrence.com/"
|
||||
MEDIA_ROOT = normpath(join(PROJECT_ROOT, '..', 'data'))
|
||||
STATIC_ROOT = normpath(join(PROJECT_ROOT, '..', 'static'))
|
||||
TESTS_ROOT = join(PROJECT_ROOT, 'tests')
|
||||
|
||||
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
|
||||
# trailing slash if there is a path component (optional in other cases).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue