Allow multiple sources.
[redakcja.git] / src / sources / urls.py
index 49e2763..de52d04 100644 (file)
@@ -5,5 +5,5 @@ from . import views
 urlpatterns = [
     path('source/<int:pk>/', views.SourceView.as_view(), name='source'),
     path('upload/<int:sid>/', views.SourceUploadView.as_view(), name='source_upload'),
 urlpatterns = [
     path('source/<int:pk>/', views.SourceView.as_view(), name='source'),
     path('upload/<int:sid>/', views.SourceUploadView.as_view(), name='source_upload'),
-    path('prepare/<int:bsid>/', views.prepare, name='source_book_prepare'),
+    path('prepare/book/<int:pk>/', views.prepare, name='source_book_prepare'),
 ]
 ]