From e07a25e288f33628afe6962f7d65647c56b59d35 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Fri, 24 Sep 2021 07:52:40 +1000 Subject: [PATCH] add groups urls --- bookwyrm/urls.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index d54347f0..759350cc 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -253,6 +253,9 @@ urlpatterns = [ re_path(r"^hide-suggestions/?$", views.hide_suggestions, name="hide-suggestions"), # lists re_path(rf"{USER_PATH}/lists/?$", views.UserLists.as_view(), name="user-lists"), + re_path(rf"{USER_PATH}/groups/?$", views.UserGroups.as_view(), name="user-groups"), + re_path(r"^group/?$", views.UserGroups.as_view(), name="groups"), + # re_path(r"^save-group/(?P\d+)/?$", views.save_group, name="group-save"), re_path(r"^list/?$", views.Lists.as_view(), name="lists"), re_path(r"^list/saved/?$", views.SavedLists.as_view(), name="saved-lists"), re_path(r"^list/(?P\d+)(.json)?/?$", views.List.as_view(), name="list"),