summaryrefslogtreecommitdiffstats
path: root/inventar
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-03-25 21:17:02 +0100
committerSebastian Reichel <sre@ring0.de>2015-03-25 21:17:02 +0100
commit1ed153fa3952a0f06dbf657c269ad92ab00cf8c7 (patch)
tree5f6b43b50794b2398f4a353031bda9048baa9c31 /inventar
parent298cd0965391867a8bc62981136eb5fc496d98e0 (diff)
downloadktt-inventory-system-1ed153fa3952a0f06dbf657c269ad92ab00cf8c7.tar.bz2
update urls.py for static urls
Diffstat (limited to 'inventar')
-rw-r--r--inventar/urls.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/inventar/urls.py b/inventar/urls.py
index d706198..23a2d4b 100644
--- a/inventar/urls.py
+++ b/inventar/urls.py
@@ -1,4 +1,6 @@
from django.conf.urls import patterns, include, url
+from django.conf.urls.static import static
+from django.conf import settings
from django.contrib import admin
admin.autodiscover()
@@ -12,7 +14,7 @@ from inventory.views import stats
urlpatterns = patterns('',
url(r'^$', home, name='home'),
- (r'^openid/', include('django_openid_auth.urls')),
+ #(r'^openid/', include('django_openid_auth.urls')),
url(r'^item/(?P<selectedid>[0-9A-Za-z]{4})/$', item, name='item'),
url(r'^search/(?P<term>[^/]+)/$', search, name='search'),
@@ -20,4 +22,4 @@ urlpatterns = patterns('',
url(r'^stats/$', stats, name='stats'),
url(r'^admin/', include(admin.site.urls)),
-)
+) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)