# -*- coding: utf-8 -*- from django.conf.urls import include, patterns, url from .views import ( PlaceCityCatalog, PlaceCountryCatalog, PlaceDetail, PlaceList, PlacePhoto, PlaceByCountry, PlaceByCity, ) urlpatterns = patterns('', url(r'^country/$', PlaceByCountry.as_view(), {'meta_id': 49}), url(r'^country/(?P.*)/page/(?P\d+)/$', PlaceCountryCatalog.as_view(), {'meta_id': 49}), url(r'^country/(?P.*)/$', PlaceCountryCatalog.as_view(), {'meta_id': 49}, name='place_country'), url(r'^city/$', PlaceByCity.as_view(), {'meta_id': 48}), url(r'^city/(?P.*)/page/(?P\d+)/$', PlaceCityCatalog.as_view(), {'meta_id': 48}), url(r'^city/(?P.*)/$', PlaceCityCatalog.as_view(), {'meta_id': 48}, name='place_city'), url(r'^(?P.*)/photo/page/(?P\d+)/$', PlacePhoto.as_view(), {'meta_id': 91}), url(r'^(?P.*)/photo/$', PlacePhoto.as_view(), {'meta_id': 91}), url(r'^page/(?P\d+)/$', PlaceList.as_view(), {'meta_id': 46}), url(r'^(?P.*)/$', PlaceDetail.as_view(), {'meta_id': 47}), url(r'^$', PlaceList.as_view(), {'meta_id':46}), )