changed the static serving url settings
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 13:46:38 +0530
changeset 55 f4e25004169d
parent 54 b3f4888a78a1
child 56 5aca9d92ccbb
changed the static serving url settings
settings.py
--- a/settings.py	Fri Jan 07 13:46:11 2011 +0530
+++ b/settings.py	Fri Jan 07 13:46:38 2011 +0530
@@ -45,12 +45,12 @@
 
 # Absolute filesystem path to the directory that will hold user-uploaded files.
 # Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = './media/'
+MEDIA_ROOT = './static/'
 
 # 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).
 # Examples: "http://media.lawrence.com", "http://example.com/media/"
-MEDIA_URL = '/media/'
+MEDIA_URL = '/static/'
 
 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
 # trailing slash.