diff options
author | prathamesh | 2015-01-20 17:05:41 +0530 |
---|---|---|
committer | prathamesh | 2015-01-20 17:05:41 +0530 |
commit | f2e09edeb2e5b884f0e75ad3747b51e7603d70e1 (patch) | |
tree | fac9c70feeff6e1c470097623fd54a6244f786c0 /testapp/settings.py | |
parent | cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2 (diff) | |
download | online_test-f2e09edeb2e5b884f0e75ad3747b51e7603d70e1.tar.gz online_test-f2e09edeb2e5b884f0e75ad3747b51e7603d70e1.tar.bz2 online_test-f2e09edeb2e5b884f0e75ad3747b51e7603d70e1.zip |
Assignment upload interface implementation
Diffstat (limited to 'testapp/settings.py')
-rw-r--r-- | testapp/settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/settings.py b/testapp/settings.py index 88d4a5a..00a6b17 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -72,12 +72,12 @@ 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 = join(CURDIR, '../uploads') # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash. # Examples: "http://media.lawrence.com/media/", "http://example.com/media/" -MEDIA_URL = '' +MEDIA_URL = 'upload/' # Absolute path to the directory static files should be collected to. # Don't put anything in this directory yourself; store your static files |