diff options
author | Parth Buch | 2012-07-20 13:21:17 +0530 |
---|---|---|
committer | Parth Buch | 2012-07-20 13:21:17 +0530 |
commit | 80bc51c364c5b32d9105573ee68b9c9e0c8e3cb6 (patch) | |
tree | db6b4220791a011819824e58fa825ceb3f452d14 /stapp | |
parent | ef0ff535971b76e4420641f3aef8a472cd7c3dc5 (diff) | |
download | stproject-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.py | 2 |
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. |