You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
924 B
18 lines
924 B
# -*- coding: utf-8 -*-
|
|
from django.conf.urls import patterns, include, url
|
|
from views import PlaceDetail, PlaceList, PlaceCityCatalog, PlaceCountryCatalog, PlacePhoto
|
|
|
|
|
|
|
|
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'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}),
|
|
)
|
|
|