Refactor music video model and views: rename user to owner, add title field, and implement music management in group detail view
This commit is contained in:
parent
8ed39c78b8
commit
4e28311b1c
11 changed files with 272 additions and 8 deletions
10
game/urls.py
10
game/urls.py
|
@ -16,4 +16,14 @@ urlpatterns = [
|
|||
name="group_edit_members",
|
||||
),
|
||||
path("group/<int:pk>/", views.GroupDetailView.as_view(), name="group_detail"),
|
||||
path(
|
||||
"group/<int:pk>/add_music/",
|
||||
views.GroupAddMusicView.as_view(),
|
||||
name="group_add_music",
|
||||
),
|
||||
path(
|
||||
"group/remove_music/<int:pk>/",
|
||||
views.GroupRemoveMusicView.as_view(),
|
||||
name="group_remove_music",
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue