From d6378f4ac5259052cb9ae23ea95d608a5ef56d07 Mon Sep 17 00:00:00 2001 From: Andy Byers Date: Tue, 21 Feb 2023 13:42:26 +0000 Subject: [PATCH] Swapped path for url --- urls.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/urls.py b/urls.py index b8b7df2..9a1d2bb 100644 --- a/urls.py +++ b/urls.py @@ -1,13 +1,13 @@ -from django.urls import re_path +from django.conf.urls import url from plugins.loc_transporter import views urlpatterns = [ - re_path(r'^manager/$', views.manager, name='loc_transporter_manager'), + url(r'^manager/$', views.manager, name='loc_transporter_manager'), - re_path(r'^manager/srn/add/$', views.manage_srn, name='loc_add_srn'), - re_path(r'^manager/srn/(?P\d+)/edit/$', views.manage_srn, name='loc_edit_srn'), + url(r'^manager/srn/add/$', views.manage_srn, name='loc_add_srn'), + url(r'^manager/srn/(?P\d+)/edit/$', views.manage_srn, name='loc_edit_srn'), - re_path(r'^manager/srn/(?P\d+)/issues/$', views.view_journal_issues, name='loc_view_journal_issues'), + url(r'^manager/srn/(?P\d+)/issues/$', views.view_journal_issues, name='loc_view_journal_issues'), ]