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.
13 lines
640 B
13 lines
640 B
# -*- coding: utf-8 -*-
|
|
from django.conf.urls import patterns, include, url
|
|
from translator.views import TranslatorList
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^city/(?P<city>.*)/page/(?P<page>\d+)/$', TranslatorList.as_view(), {'meta_id':88}),
|
|
url(r'^city/(?P<city>.*)/$', TranslatorList.as_view(), {'meta_id':88}),
|
|
url(r'^country/(?P<country>.*)/page/(?P<page>\d+)/$', TranslatorList.as_view(), {'meta_id':87}),
|
|
url(r'^country/(?P<country>.*)/$', TranslatorList.as_view(), {'meta_id':87}),
|
|
url(r'^page/(?P<page>\d+)/$', TranslatorList.as_view() , {'meta_id':86}),
|
|
url(r'^', TranslatorList.as_view() , {'meta_id':86}),
|
|
) |