Commit 140e2216 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Group owner can update group description & homepage

Refs: #2793
parent 1829985b
......@@ -736,6 +736,8 @@ def group_detail(request, group_id):
def group_update(request, group_id):
if request.method != 'POST':
return HttpResponseBadRequest('Method not allowed.')
......@@ -746,7 +748,11 @@ def group_update(request, group_id):
form = AstakosGroupUpdateForm(request.POST, instance=group)
if form.is_valid():
return group_detail(request, group_id)
return object_detail(request,
extra_context={'quota': group.quota,
'form': form})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment