2017-02-16 01:01:36 +00:00
|
|
|
from django.conf.urls import include, url
|
2018-04-27 20:53:38 +00:00
|
|
|
from storage.views import (
|
|
|
|
index, search, item_display, label_lookup, ItemSelectView, PropSelectView
|
|
|
|
)
|
2017-02-16 01:01:36 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^$', index),
|
|
|
|
url(r'^search$', search),
|
|
|
|
url(r'^item/(?P<pk>.*)$', item_display, name='item-display'),
|
2017-10-08 20:39:23 +00:00
|
|
|
url(r'^autocomplete.json$', ItemSelectView.as_view(), name='item-complete'),
|
2018-04-27 20:53:38 +00:00
|
|
|
url(r'^autocomplete_prop.json$', PropSelectView.as_view(), name='prop-complete'),
|
2017-04-28 12:14:27 +00:00
|
|
|
url(r'^(?P<pk>[^/]*)$', label_lookup, name='label-lookup'),
|
2017-02-16 01:01:36 +00:00
|
|
|
]
|