|
|
|
@ -2,7 +2,7 @@ |
|
|
|
from django.conf.urls import patterns, include, url |
|
|
|
from django.conf.urls import patterns, include, url |
|
|
|
from views import CallBackListView, VisitListView, TranslationListView, AdvertisingListView, \ |
|
|
|
from views import CallBackListView, VisitListView, TranslationListView, AdvertisingListView, \ |
|
|
|
ParticipationListView, RemoteListView,TicketsListView |
|
|
|
ParticipationListView, RemoteListView,TicketsListView |
|
|
|
from service.admin import ServiceControlList, ServiceControl, ServiceAddView |
|
|
|
from service.admin import ServiceControlList, ServiceControl, ServiceAddView, ServiceUpdateView |
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = patterns('service.admin', |
|
|
|
urlpatterns = patterns('service.admin', |
|
|
|
url(r'^control/list/$', ServiceControlList.as_view()), |
|
|
|
url(r'^control/list/$', ServiceControlList.as_view()), |
|
|
|
@ -18,10 +18,11 @@ urlpatterns = patterns('service.admin', |
|
|
|
url(r'order/participation/$', ParticipationListView.as_view()), |
|
|
|
url(r'order/participation/$', ParticipationListView.as_view()), |
|
|
|
url(r'order/remote/$', RemoteListView.as_view()), |
|
|
|
url(r'order/remote/$', RemoteListView.as_view()), |
|
|
|
url(r'order/tickets/$', TicketsListView.as_view()), |
|
|
|
url(r'order/tickets/$', TicketsListView.as_view()), |
|
|
|
|
|
|
|
url('^test/(?P<url>[a-z]*)/', ServiceUpdateView.as_view()), |
|
|
|
url('^test/$', ServiceAddView.as_view()), |
|
|
|
url('^test/$', ServiceAddView.as_view()), |
|
|
|
#ajax |
|
|
|
#ajax |
|
|
|
url(r'^get_city/$', 'get_city'), |
|
|
|
url(r'^get_city/$', 'get_city'), |
|
|
|
url('^get_expos/$', 'get_country'), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#url(r'^get_country/$', 'get_country'), |
|
|
|
#url(r'^get_country/$', 'get_country'), |
|
|
|
|
|
|
|
|
|
|
|
|