Oprava URL
This commit is contained in:
parent
d2e199e509
commit
2deccfada4
2 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,6 @@ from personalni.utils import org_required
|
|||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('korektury/api/<int:pdf_id>/stav', org_required(views.korektury_stav_view), name='korektury_api_pdf_stav'),
|
||||
path('korektury/api/oprava/stav', org_required(views.oprava_stav_view), name='korektury_api_oprava_stav'),
|
||||
path('<int:pdf_id>/stav', org_required(views.korektury_stav_view), name='korektury_api_pdf_stav'),
|
||||
path('oprava/stav', org_required(views.oprava_stav_view), name='korektury_api_oprava_stav'),
|
||||
]
|
||||
|
|
|
@ -10,5 +10,5 @@ urlpatterns = [
|
|||
path('korektury/zastarale/', org_required(views.KorekturyZastaraleListView.as_view()), name='korektury_stare_list'),
|
||||
path('korektury/<int:pdf>/', org_required(views.KorekturyView.as_view()), name='korektury'),
|
||||
|
||||
path('api/', include('korektury.api.urls')),
|
||||
path('korektury/api/', include('korektury.api.urls')),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue