From c7fd8c443357879aab51134e6679ace45baec103 Mon Sep 17 00:00:00 2001 From: keroth Date: Sun, 10 May 2015 00:10:26 +0200 Subject: Added file support --- inventar/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inventar/urls.py') diff --git a/inventar/urls.py b/inventar/urls.py index 23a2d4b..ffb1757 100644 --- a/inventar/urls.py +++ b/inventar/urls.py @@ -10,16 +10,17 @@ from inventory.views import item from inventory.views import search from inventory.views import graph from inventory.views import stats +from inventory.views import upload urlpatterns = patterns('', url(r'^$', home, name='home'), - #(r'^openid/', include('django_openid_auth.urls')), url(r'^item/(?P[0-9A-Za-z]{4})/$', item, name='item'), url(r'^search/(?P[^/]+)/$', search, name='search'), url(r'^graph/$', graph, name='graph'), url(r'^stats/$', stats, name='stats'), + url(r'^upload/$', upload, name='upload'), url(r'^admin/', include(admin.site.urls)), ) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) -- cgit v1.2.3