Browse files

Fixed a settings change fallout from the last commit.

  • Loading branch information...
1 parent 3f90710 commit 1e21372a0624bf2af095ca016fb3f427faf210ed @jacobian jacobian committed Oct 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_website/urls/www.py
View
2 django_website/urls/www.py
@@ -51,7 +51,7 @@
(r'', include('django_website.legacy.urls')),
)
-if settings.DEVELOPMENT_MODE:
+if not settings.PRODUCTION:
urlpatterns += patterns("django.views",
url(r"^media/(?P<path>.*)", "static.serve", {
"document_root": settings.MEDIA_ROOT,

0 comments on commit 1e21372

Please sign in to comment.