Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…esetzt
  • Loading branch information...
commit 5b4720b8bf0fffdf861b9c6b6353ea1e63551bf0 1 parent bf5736f
@ninamiriamjnana authored
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
+
@lazerscience
Collaborator

not necessary!

Please sign in to comment.
Something went wrong with that request. Please try again.