Source fixes: avoid race and wait a minute after uploading to prevent unnecessary...
[redakcja.git] / src / documents / urls.py
index 1a1f185..d9114cc 100644 (file)
@@ -41,6 +41,7 @@ urlpatterns = [
     path('book/<slug:slug>/txt', views.book_txt, name="documents_book_txt"),
     path('book/<slug:slug>/html', views.book_html, name="documents_book_html"),
     path('book/<slug:slug>/epub', views.book_epub, name="documents_book_epub"),
     path('book/<slug:slug>/txt', views.book_txt, name="documents_book_txt"),
     path('book/<slug:slug>/html', views.book_html, name="documents_book_html"),
     path('book/<slug:slug>/epub', views.book_epub, name="documents_book_epub"),
+    path('book/<slug:slug>/epubcheck', views.book_epubcheck, name="documents_book_epubcheck"),
     path('book/<slug:slug>/mobi', views.book_mobi, name="documents_book_mobi"),
     path('book/<slug:slug>/pdf', views.book_pdf, name="documents_book_pdf"),
     path('book/<slug:slug>/pdf-mobile', views.book_pdf, kwargs={'mobile': True}, name="documents_book_pdf_mobile"),
     path('book/<slug:slug>/mobi', views.book_mobi, name="documents_book_mobi"),
     path('book/<slug:slug>/pdf', views.book_pdf, name="documents_book_pdf"),
     path('book/<slug:slug>/pdf-mobile', views.book_pdf, kwargs={'mobile': True}, name="documents_book_pdf_mobile"),
@@ -58,6 +59,7 @@ urlpatterns = [
 
     path('track/<slug:slug>/', PublishTrackFeed()),
     path('active/', views.active_users_list, name='active_users_list'),
 
     path('track/<slug:slug>/', PublishTrackFeed()),
     path('active/', views.active_users_list, name='active_users_list'),
+    path('active.csv', views.active_users_list, kwargs={'csv': True}, name='active_users_csv'),
 
     path('mark-final/', views.mark_final, name='mark_final'),
     path('mark-final-completed/', views.mark_final_completed, name='mark_final_completed'),
 
     path('mark-final/', views.mark_final, name='mark_final'),
     path('mark-final-completed/', views.mark_final_completed, name='mark_final_completed'),