summaryrefslogtreecommitdiff
path: root/stapp
diff options
context:
space:
mode:
authorParth Buch2012-07-20 13:21:17 +0530
committerParth Buch2012-07-20 13:21:17 +0530
commit80bc51c364c5b32d9105573ee68b9c9e0c8e3cb6 (patch)
treedb6b4220791a011819824e58fa825ceb3f452d14 /stapp
parentef0ff535971b76e4420641f3aef8a472cd7c3dc5 (diff)
downloadstproject-80bc51c364c5b32d9105573ee68b9c9e0c8e3cb6.tar.gz
stproject-80bc51c364c5b32d9105573ee68b9c9e0c8e3cb6.tar.bz2
stproject-80bc51c364c5b32d9105573ee68b9c9e0c8e3cb6.zip
Added media_root directive to upload files
Diffstat (limited to 'stapp')
-rw-r--r--stapp/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stapp/settings.py b/stapp/settings.py
index ffcb5dc..986bb7d 100644
--- a/stapp/settings.py
+++ b/stapp/settings.py
@@ -36,7 +36,7 @@ USE_L10N = True
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
-MEDIA_ROOT = ''
+MEDIA_ROOT = os.path.join(PROJECT_DIR, "media"),
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.