|
|
|
|
@ -5,19 +5,14 @@ from views import PlaceDetail, PlaceList, PlaceCityCatalog, PlaceCountryCatalog, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = patterns('', |
|
|
|
|
url(r'country/(?P<slug>.*)/page/(?P<page>\d+)/$', PlaceCountryCatalog.as_view(), {'meta_id': 49}), |
|
|
|
|
url(r'country/(?P<slug>.*)/$', PlaceCountryCatalog.as_view(), {'meta_id': 49}), |
|
|
|
|
|
|
|
|
|
#url(r'country/$', PlaceCountryCatalog.as_view()), |
|
|
|
|
url(r'country/(?P<slug>.*)/page/(?P<page>\d+)/$', PlaceCountryCatalog.as_view(), {'meta_id':49}), |
|
|
|
|
url(r'country/(?P<slug>.*)/$', PlaceCountryCatalog.as_view(), {'meta_id':49}), |
|
|
|
|
# correct |
|
|
|
|
#url(r'expo/city/$', ExpositionByCity.as_view()), |
|
|
|
|
url(r'city/(?P<slug>.*)/page/(?P<page>\d+)/$', PlaceCityCatalog.as_view(), {'meta_id':48}), |
|
|
|
|
url(r'city/(?P<slug>.*)/$', PlaceCityCatalog.as_view(), {'meta_id':48}), |
|
|
|
|
#!!! |
|
|
|
|
url(r'(?P<slug>.*)/photo/page/(?P<page>\d+)/$', PlacePhoto.as_view()), |
|
|
|
|
url(r'(?P<slug>.*)/photo/$', PlacePhoto.as_view()), |
|
|
|
|
#url(r'expo/(?P<slug>.*)/service/(?P<url>.*)/$', ExpositionServiceView.as_view()), |
|
|
|
|
url(r'page/(?P<page>\d+)/$', PlaceList.as_view(), {'meta_id':46}), |
|
|
|
|
url(r'(?P<slug>.*)/$', PlaceDetail.as_view(), {'meta_id':47}), |
|
|
|
|
url(r'city/(?P<slug>.*)/page/(?P<page>\d+)/$', PlaceCityCatalog.as_view(), {'meta_id': 48}), |
|
|
|
|
url(r'city/(?P<slug>.*)/$', PlaceCityCatalog.as_view(), {'meta_id': 48}), |
|
|
|
|
url(r'(?P<slug>.*)/photo/page/(?P<page>\d+)/$', PlacePhoto.as_view(), {'meta_id': 91}), |
|
|
|
|
url(r'(?P<slug>.*)/photo/$', PlacePhoto.as_view(), {'meta_id': 91}), |
|
|
|
|
url(r'page/(?P<page>\d+)/$', PlaceList.as_view(), {'meta_id': 46}), |
|
|
|
|
url(r'(?P<slug>.*)/$', PlaceDetail.as_view(), {'meta_id': 47}), |
|
|
|
|
url(r'$', PlaceList.as_view(), {'meta_id':46}), |
|
|
|
|
) |
|
|
|
|
|