Browse files

urls für static geändert in urls. py, in settings.py debug auf true g…

…esetzt
  • Loading branch information...
1 parent bf5736f commit 5b4720b8bf0fffdf861b9c6b6353ea1e63551bf0 @ninamiriamjnana committed Jan 12, 2012
Showing with 9 additions and 1 deletion.
  1. +4 −1 src/hup/settings.py
  2. +5 −0 src/hup/urls.py
View
5 src/hup/settings.py
@@ -3,7 +3,10 @@
PROJECT_ROOT = os.path.dirname(__file__)
-DEBUG = False
+
+
+
+DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
View
5 src/hup/urls.py
@@ -1,4 +1,5 @@
from django.conf.urls.defaults import patterns, include, url
+from django.contrib.staticfiles.urls import staticfiles_urlpatterns
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
@@ -18,4 +19,8 @@
url(r'^weblog/', include('zinnia.urls')), #zinnia
url(r'^comments/', include('django.contrib.comments.urls')),#zinnia
+
+
)
+urlpatterns += staticfiles_urlpatterns()
@lazerscience
Collaborator

not necessary!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+

0 comments on commit 5b4720b

Please sign in to comment.