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.
29 lines
1.4 KiB
29 lines
1.4 KiB
# -*- coding: utf-8 -*-
|
|
from django.conf.urls import patterns, url
|
|
from import_xls.admin import LogDelete
|
|
from admin import ImportTheme, ImportEvent, ImportTag, ImportPlaceExposition, ImportPlaceConference
|
|
from admin import ExportTheme, ExportEvent, ExportTag, ExportPlaceExposition,\
|
|
ExportPlaceConference, ExportCompany, ExportUser, ExportBlog, ExportCity, LogList
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^import-event/$', ImportEvent.as_view()),
|
|
url(r'^import-theme/$', ImportTheme.as_view()),
|
|
url(r'^import-tag/$', ImportTag.as_view()),
|
|
url(r'^import-place_exposition/$', ImportPlaceExposition.as_view()),
|
|
url(r'^import-place_conference/$', ImportPlaceConference.as_view()),
|
|
#
|
|
url(r'^export-event/$', ExportEvent.as_view()),
|
|
url(r'^export-theme/$', ExportTheme.as_view()),
|
|
url(r'^export-tag/$', ExportTag.as_view()),
|
|
url(r'^export-place_exposition/$', ExportPlaceExposition.as_view()),
|
|
url(r'^export-place_conference/$', ExportPlaceConference.as_view()),
|
|
url(r'^export-user/$', ExportUser.as_view()),
|
|
url(r'^export-company/$', ExportCompany.as_view()),
|
|
url(r'^export-blog/$', ExportBlog.as_view()),
|
|
url(r'^export-city/$', ExportCity.as_view()),
|
|
url(r'^import/log/$', LogList.as_view()),
|
|
url(r'^import/log/delete/(?P<pk>.*)/$', LogDelete.as_view()),
|
|
url(r'^log/log/(?P<log_id>.*)/$', 'import_xls.admin.log_file'),
|
|
url(r'^log/work_file/(?P<log_id>.*)/$', 'import_xls.admin.work_file'),
|
|
)
|
|
|