# -*- coding: utf-8 -*- from django.conf.urls import include, patterns, url from .views import ( ExpoCityCatalog, ExpoCountryCatalog, ExpoDetail, ExpoList, ExpoMembers, ExpoPhotoView, ExpositionByCity, ExpositionByCountry, ExpositionByTag, ExpositionByTheme, ExpositionPrice, ExpositionProgramme, ExpositionSearchView, ExpositionServiceView, ExpositionStatistic, ExpositionThankView, ExpoTagCatalog, ExpoThemeCatalog, ExpoVisitors ) urlpatterns = patterns('', url(r'^expo/add-note/(?P.*)/$', 'exposition.views.add_note'), url(r'^exposition-add-calendar/(?P\d+)/$', 'exposition.views.exposition_add_calendar'), # url(r'^exposition-visit/(?P\d+)/$', 'exposition.views.exposition_visit'), # search url(r'^expo/search/', ExpositionSearchView.as_view()), # country catalog url(r'^expo/country/$', ExpositionByCountry.as_view(), {'meta_id':54}), url(r'^expo/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoCountryCatalog.as_view(), {'meta_id':7}), url(r'^expo/country/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ExpoCountryCatalog.as_view(), {'meta_id':6}), url(r'^expo/country/(?P[^/]*)/page/(?P\d+)/$', ExpoCountryCatalog.as_view(), {'meta_id':5}), url(r'^expo/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ExpoCountryCatalog.as_view(), {'meta_id':7}), url(r'^expo/country/(?P[^/]*)/(?P\d+)/$', ExpoCountryCatalog.as_view(), {'meta_id':6}), url(r'^expo/country/(?P[^/]*)/$', ExpoCountryCatalog.as_view(), {'meta_id':5}, name='expo_country'), # city catalog url(r'^expo/city/$', ExpositionByCity.as_view(), {'meta_id':53}), url(r'^expo/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoCityCatalog.as_view(), {'meta_id':10}), url(r'^expo/city/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ExpoCityCatalog.as_view(), {'meta_id':9}), url(r'^expo/city/(?P[^/]*)/page/(?P\d+)/$', ExpoCityCatalog.as_view(), {'meta_id':8}), url(r'^expo/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ExpoCityCatalog.as_view(), {'meta_id':10}), url(r'^expo/city/(?P[^/]*)/(?P\d+)/$', ExpoCityCatalog.as_view(), {'meta_id':9}), url(r'^expo/city/(?P[^/]*)/$', ExpoCityCatalog.as_view(), {'meta_id':8}, name='expo_city'), # theme catalog url(r'^expo/theme/$', ExpositionByTheme.as_view(), {'meta_id':55}), url(r'^expo/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':44}), url(r'^expo/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':44}), url(r'^expo/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ExpoThemeCatalog.as_view(), {'meta_id':44}), url(r'^expo/theme/(?P[^/]*)/country/(?P[^/]*)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':44}), url(r'^expo/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':44}), url(r'^expo/theme/(?P[^/]*)/country/(?P[^/]*)/$', ExpoThemeCatalog.as_view(), {'meta_id':44}), url(r'^expo/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':42}), url(r'^expo/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ExpoThemeCatalog.as_view(), {'meta_id':42}), url(r'^expo/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':42}), url(r'^expo/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':42}), url(r'^expo/theme/(?P[^/]*)/city/(?P[^/]*)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':42}), url(r'^expo/theme/(?P[^/]*)/city/(?P[^/]*)/$', ExpoThemeCatalog.as_view(), {'meta_id':42}), url(r'^expo/theme/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':13}), url(r'^expo/theme/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':12}), url(r'^expo/theme/(?P[^/]*)/page/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':11}), url(r'^expo/theme/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ExpoThemeCatalog.as_view(), {'meta_id':13}), url(r'^expo/theme/(?P[^/]*)/(?P\d+)/$', ExpoThemeCatalog.as_view(), {'meta_id':12}), url(r'^expo/theme/(?P[^/]*)/$', ExpoThemeCatalog.as_view(), {'meta_id':11}), # tag catalog url(r'^expo/tag/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoTagCatalog.as_view(), {'meta_id':17}), url(r'^expo/tag/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ExpoTagCatalog.as_view(), {'meta_id':15}), url(r'^expo/tag/(?P[^/]*)/page/(?P\d+)/$', ExpoTagCatalog.as_view(), {'meta_id':14}), url(r'^expo/tag/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ExpoTagCatalog.as_view(), {'meta_id':17}), url(r'^expo/tag/(?P[^/]*)/(?P\d+)/$', ExpoTagCatalog.as_view(), {'meta_id':15}), url(r'^expo/tag/(?P[^/]*)/$', ExpoTagCatalog.as_view(), {'meta_id':14}), # expo additional pages url(r'^expo/(?P[^/]*)/send_to_organiser/$', 'exposition.views.send_to_organiser'), url(r'^expo/(?P[^/]*)/statistic/$', ExpositionStatistic.as_view(), {'meta_id':60}), url(r'^expo/(?P[^/]*)/price/$', ExpositionPrice.as_view(), {'meta_id':61}), url(r'^expo/(?P[^/]*)/program/$', ExpositionProgramme.as_view(), {'meta_id':62}), url(r'^expo/(?P[^/]*)/visitors/page/(?P\d+)/$', ExpoVisitors.as_view(), {'meta_id':64}), url(r'^expo/(?P[^/]*)/visitors/$', ExpoVisitors.as_view(), {'meta_id':64}), url(r'^expo/(?P[^/]*)/photo/page/(?P\d+)/$', ExpoPhotoView.as_view(), {'meta_id': 92}), url(r'^expo/(?P[^/]*)/photo/$', ExpoPhotoView.as_view(), {'meta_id': 92}), url(r'^expo/(?P[^/]*)/members/page/(?P\d+)/$', ExpoMembers.as_view(), {'meta_id':63}), url(r'^expo/(?P[^/]*)/members/$', ExpoMembers.as_view(), {'meta_id':63}), url(r'^expo/(?P[^/]*)/service/thanks/', ExpositionThankView.as_view()), url(r'^expo/(?P[^/]*)/service/visit/', 'exposition.views.visit_redirect'), url(r'^expo/(?P[^/]*)/service/(?P[^/]*)/', ExpositionServiceView.as_view()), # expo list url(r'^expo/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ExpoList.as_view(), {'meta_id':4}), url(r'^expo/(?P\d+)/page/(?P\d+)/$', ExpoList.as_view(), {'meta_id':3}), url(r'^expo/(?P\d+)/(?P.*)/$', ExpoList.as_view(), {'meta_id':4}), url(r'^expo/(?P\d+)/$', ExpoList.as_view(), {'meta_id':3}), url(r'^expo/page/(?P\d+)/$', ExpoList.as_view(), {'meta_id':2}), url(r'^expo/tag/$', ExpositionByTag.as_view(), {'meta_id':2}), # expo page url(r'^expo/(?P.*)/$', ExpoDetail.as_view(), {'meta_id':18}),# event url(r'^expo/$', ExpoList.as_view() , {'meta_id':2}), )