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.
12 lines
345 B
12 lines
345 B
# -*- coding: utf-8 -*-
|
|
from django.conf.urls import patterns, url
|
|
from admin import CityListView
|
|
|
|
urlpatterns = patterns('city.admin',
|
|
url(r'^add/$', 'city_add'),
|
|
url(r'^delete/(?P<url>.*)/$', 'city_delete'),
|
|
url(r'^change/(.*)/$', 'city_change'),
|
|
url(r'^all/$', CityListView.as_view()),
|
|
url(r'^search/$', 'search_city'),
|
|
|
|
) |