diff options
author | Sebastian Reichel <sre@ring0.de> | 2015-03-25 21:17:02 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2015-03-25 21:17:02 +0100 |
commit | 1ed153fa3952a0f06dbf657c269ad92ab00cf8c7 (patch) | |
tree | 5f6b43b50794b2398f4a353031bda9048baa9c31 /inventar | |
parent | 298cd0965391867a8bc62981136eb5fc496d98e0 (diff) | |
download | ktt-inventory-system-1ed153fa3952a0f06dbf657c269ad92ab00cf8c7.tar.bz2 |
update urls.py for static urls
Diffstat (limited to 'inventar')
-rw-r--r-- | inventar/urls.py | 6 |
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) |