spejstore-new/storage/urls.py

9 lines
234 B
Python
Raw Normal View History

from django.conf.urls import include, url
from storage.views import index, search, item_display
urlpatterns = [
url(r'^$', index),
url(r'^search$', search),
url(r'^item/(?P<pk>.*)$', item_display, name='item-display'),
]