summaryrefslogtreecommitdiff
path: root/chimere/urls_chimere.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/urls_chimere.py')
-rw-r--r--chimere/urls_chimere.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/chimere/urls_chimere.py b/chimere/urls_chimere.py
index 96de01a..c888efa 100644
--- a/chimere/urls_chimere.py
+++ b/chimere/urls_chimere.py
@@ -24,7 +24,8 @@ from django.core.exceptions import ImproperlyConfigured
from chimere import views
from chimere.forms import SearchForm
-from chimere.views import CategoryDirectoryView, CategoryView, SearchView
+from chimere.views import CategoryDirectoryView, CategoryView, SearchView, \
+ CategoryItemView
from chimere.feeds import LatestPOIsByCategory, LatestPOIsBySubCategory, \
LatestPOIs, LatestPOIsByZone, LatestPOIsByZoneID
@@ -152,6 +153,9 @@ urlpatterns += [
url(r'^(?:(?P<area_name>[a-zA-Z0-9_-]*)/)?categories/'
r'(?P<category_slug>[a-zA-Z0-9_-]+)$',
CategoryView.as_view(), name='category-directory-detail'),
+ url(r'^(?:(?P<area_name>[a-zA-Z0-9_-]*)/)?categories/'
+ r'(?P<category_slug>[a-zA-Z0-9_-]+)/(?P<item_id>[0-9]+)/$',
+ CategoryItemView.as_view(), name='category-directory-item-detail'),
url(r'^(?:(?P<area_name>[a-zA-Z0-9_-]*)/)?property-choices/'
r'(?P<property_slug>[a-zA-Z0-9_-]+)/$',
views.property_choice_list, name='property-choices'),