35 lines
1.5 KiB
Python
35 lines
1.5 KiB
Python
from django.conf.urls.defaults import *
|
|
import views
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^editor/$', views.editor),
|
|
(r'^upload/$', views.upload),
|
|
(r'^new_page/', views.new_page),
|
|
(r'^article/json/', views.article_json),
|
|
(r'^textbox/new/', views.textbox_new),
|
|
(r'^textbox/update_css/', views.textbox_update_css),
|
|
(r'^textbox/set_html/', views.textbox_set_html),
|
|
(r'^textbox/delete/', views.textbox_delete),
|
|
(r'^imagebox/new/', views.imagebox_new),
|
|
(r'^imagebox/update_css/', views.imagebox_update_css),
|
|
(r'^imagebox/resize/', views.imagebox_resize),
|
|
(r'^imagebox/crop/', views.imagebox_crop),
|
|
(r'^imagebox/delete/', views.imagebox_delete),
|
|
(r'^image/rotate/(?P<id>\d+)/$', views.image_rotate),
|
|
(r'^add_media/', views.add_media),
|
|
(r'^add_srt/', views.add_srt),
|
|
(r'^category/json/', views.category_json),
|
|
(r'^save_page/$', views.canvas_save),
|
|
(r'^article/(?P<id>\d+)/$', views.edit_article),
|
|
(r'^view_page/(?P<id>\d+)/$', views.view_page),
|
|
(r'^view_article/(?P<id>\d+)/$', views.view_article),
|
|
(r'^print_article/$', views.article_pdf),
|
|
(r'^article_frontend/(?P<product_id>\d+)/(?P<article_order>\d+)/$', views.article_frontend),
|
|
(r'^issue/(?P<id>\d+)/$', views.edit_issue),
|
|
(r'^product/(?P<id>\d+)/$', views.edit_product),
|
|
(r'^new_issue/', views.new_issue),
|
|
(r'^page_pdf/', views.page_pdf),
|
|
(r'^product_pdf/', views.product_pdf),
|
|
(r'^poll_changes/', views.poll_changes),
|
|
(r'', views.article_list),
|
|
)
|