1 from django
.conf
.urls
.defaults
import *
3 urlpatterns
= patterns('',
4 url(r
'^$', 'booki.editor.views.view_project', name
='view_project'),
5 url(r
'^edit/', 'booki.editor.views.view_editor', name
='view_editor'),
8 url(r
'^(?P<edition>[\w\s\_\.\-]+)/_utils/thumbnail/(?P<attachment>.*)$', 'booki.editor.views.thumbnail_attachment', name
='thumbnail_attachment'),
10 url(r
'^(?P<edition>[\w\s\_\.\-]+)/export/{0,1}$', 'booki.editor.views.view_export', name
='export_booki'),
11 url(r
'^(?P<edition>[\w\s\_\.\-]+)/static/(?P<attachment>.*)$', 'booki.editor.views.view_attachment', name
='view_attachment'),
15 url(r
'^(?P<edition>[\w\s\_\.\-]+)/edit/$', 'booki.editor.views.edit_book', name
='edit_book'),
16 url(r
'^(?P<edition>[\w\s\_\.\-]+)/(?P<chapter>[\w\s\_\.\-]+)/$', 'booki.editor.views.view_chapter', name
='view_chapter'),
17 url(r
'^(?P<edition>[\w\s\_\.\-]+)/$', 'booki.editor.views.view_book', name
='view_book')