- login_required()(GalleryView.as_view()),
- name="catalogue_book_gallery"),
- #~ url(r'^attachments/$',
- #~ login_required()(GalleryView.as_view()),
- #~ name="catalogue_attachments"),
- #~ url(r'^attachments/(?P<pk>\d+)/$',
- #~ login_required()(GalleryView.as_view()),
- #~ name="catalogue_attachments"),
- url(r'^book/(?P<slug>[^/]+)/gallery/package$',
- permission_required('catalogue.change_book')(GalleryPackageView.as_view()),
- name="catalogue_book_gallery_package"),
- url(r'^book/(?P<slug>[^/]+)/xml$', 'book_xml', name="catalogue_book_xml"),
- #url(r'^book/(?P<slug>[^/]+)/txt$', 'book_txt', name="catalogue_book_txt"),
+ login_required()(GalleryView.as_view()),
+ name="catalogue_book_gallery"),