Skip to content

Commit ed82f10

Browse files
committed
increased url flexibility when supporting setting user group preferences
1 parent 4e3d5be commit ed82f10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mapgroups/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
RemoveMapGroupImageActionView.as_view(), name='remove-image'),
5656
re_path(r'^(?P<pk>\d+)/(?P<slug>[\w-]+)/$',
5757
MapGroupDetailView.as_view(), name='detail'),
58-
re_path(r'^(?P<pk>\d+)/(?P<slug>[\w-]+)/preferences$',
58+
re_path(r'^(?P<pk>\d+)/(?P<slug>[\w-]+)/preferences/?$',
5959
MapGroupPreferencesView.as_view(), name='preferences'),
6060
re_path(r'^(?P<pk>\d+)/(?P<slug>[\w-]+)/join$',
6161
JoinMapGroupActionView.as_view(), name='join'),

0 commit comments

Comments
 (0)