summaryrefslogtreecommitdiffstats
path: root/inventar
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-04-26 13:55:23 +0200
committerSebastian Reichel <sre@ring0.de>2015-04-26 13:55:23 +0200
commit0f65b34c03f3f3818b6ee4de77fc95a628c787d1 (patch)
treed05ff3d3bb732b753c1f45b02de4d144050ebdbb /inventar
parentd1d67f24c3e18a85dcb54eba8ff5dea6631b604a (diff)
downloadktt-inventory-system-0f65b34c03f3f3818b6ee4de77fc95a628c787d1.tar.bz2
support longer barcodes
Diffstat (limited to 'inventar')
-rw-r--r--inventar/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/inventar/urls.py b/inventar/urls.py
index 2a6598b..7162524 100644
--- a/inventar/urls.py
+++ b/inventar/urls.py
@@ -30,7 +30,7 @@ urlpatterns = patterns('',
#(r'^openid/', include('django_openid_auth.urls')),
- url(r'^item/(?P<selectedid>[0-9A-Za-z]{4})/$', item, name='item'),
+ url(r'^item/(?P<selectedid>[0-9A-Za-z]{4,6})/$', item, name='item'),
url(r'^search/(?P<term>[^/]+)/$', search, name='search'),
url(r'^graph/$', graph, name='graph'),
url(r'^stats/$', stats, name='stats'),