Permalink
Browse files

Set ROOTs.

  • Loading branch information...
1 parent 8f17bca commit 79e0651d6a1bcc756095367efca10038d2be59b6 @dracos dracos committed Dec 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 example_popit_project/settings.py
@@ -70,7 +70,7 @@
# 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.normpath( os.path.join( path, '..', 'media_root') )
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
@@ -81,7 +81,7 @@
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = ''
+STATIC_ROOT = os.path.normpath( os.path.join( path, '..', 'collected_static') )
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"

0 comments on commit 79e0651

Please sign in to comment.