return item info for 0x urls

This commit is contained in:
j 2016-09-05 13:45:24 +02:00
parent c409b63f25
commit bf984fe256

View file

@ -82,8 +82,8 @@ urlpatterns += [
url(r'^find$', urlalias.views.padma_find),
]
urlpatterns += [
url(r'^(?P<id>[A-Z0-9]+)/embed', app.views.embed),
url(r'^(?P<id>[A-Z0-9]+).*', item.views.item),
url(r'^(?P<id>[A-Z0-9x]+)/embed', app.views.embed),
url(r'^(?P<id>[A-Z0-9x]+).*', item.views.item),
url(r'^[a-z0-9].+$', app.views.index),
url(r'^$', app.views.index),
url(r'^.*$', app.views.index),