create group form

adds a group creation form to user dashboard
This commit is contained in:
Hugh Rundle
2021-09-24 14:12:36 +10:00
parent e07a25e288
commit 4e93b09067
7 changed files with 49 additions and 21 deletions

View File

@ -254,8 +254,9 @@ urlpatterns = [
# 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<group_id>\d+)/?$", views.save_group, name="group-save"),
re_path(r"^groups/?$", views.UserGroups.as_view(), name="groups"),
# re_path(r"^group/?$", views.Group.as_view(), name="group"),
re_path(r"^create-shelf/?$", views.create_shelf, name="group-create"),
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<list_id>\d+)(.json)?/?$", views.List.as_view(), name="list"),