Permalink
Browse files

modified production MEDIA_ROOT and STATIC_ROOT

  • Loading branch information...
1 parent 2a74bcc commit 7273110ff8537a99a3c5faf7bb6120051d9c2160 @siddhi siddhi committed Jul 31, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 make_my_badge/production_settings.py
@@ -6,5 +6,7 @@
DEBUG = False
TEMPLATE_DEBUG = DEBUG
-MEDIA_ROOT = config["core"]["data_directory"]
-STATIC_ROOT = "../static"
+import os
+
+MEDIA_ROOT = os.path.join(config["core"]["data_directory"], "media")
+STATIC_ROOT = os.path.join(config["core"]["data_directory"], "static")

0 comments on commit 7273110

Please sign in to comment.