Skip to content

Commit

Permalink
Permit more characters in URLs for locations and groups
Browse files Browse the repository at this point in the history
  • Loading branch information
sde1000 committed May 15, 2024
1 parent a34859c commit c2791b0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions quicktill/tillweb/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
path('barcode/<barcode>/', views.barcode, name="tillweb-barcode"),

path('location/', views.locationlist, name="tillweb-locations"),
re_path(r'^location/(?P<location>[\w\- ]+)/$', views.location,
name="tillweb-location"),
path('location/<location>/', views.location, name="tillweb-location"),

path('department/', views.departmentlist, name="tillweb-departments"),
path('department/<int:departmentid>/', views.department,
Expand All @@ -108,8 +107,7 @@
path('new/user/', views.create_user, name="tillweb-create-user"),

path('group/', views.grouplist, name="tillweb-till-groups"),
re_path(r'^group/(?P<groupid>[\w\- ]+)/$', views.group,
name="tillweb-till-group"),
path('group/<groupid>/', views.group, name="tillweb-till-group"),
path('new/group/', views.create_group, name="tillweb-create-till-group"),

path('token/', views.tokenlist, name="tillweb-tokens"),
Expand Down

0 comments on commit c2791b0

Please sign in to comment.