From 0f65b34c03f3f3818b6ee4de77fc95a628c787d1 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 26 Apr 2015 13:55:23 +0200 Subject: support longer barcodes --- inventar/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[0-9A-Za-z]{4})/$', item, name='item'), + url(r'^item/(?P[0-9A-Za-z]{4,6})/$', item, name='item'), url(r'^search/(?P[^/]+)/$', search, name='search'), url(r'^graph/$', graph, name='graph'), url(r'^stats/$', stats, name='stats'), -- cgit v1.2.3