Fix redirect for user group overview.
This commit is contained in:
parent
41fbd456d2
commit
35c0b50940
@ -16,7 +16,7 @@
|
||||
<button type="submit" name="apply">
|
||||
<span class="icon apply">{%trans 'Apply' %}</span>
|
||||
</button>
|
||||
<a href='{% url user_overview %}'>
|
||||
<a href='{% url user_group_overview %}'>
|
||||
<button type="button">
|
||||
<span class="icon cancel">{%trans 'Cancel' %}</span>
|
||||
</button>
|
||||
|
@ -174,7 +174,7 @@ def group_edit(request, group_id=None):
|
||||
try:
|
||||
group = Group.objects.get(id=group_id)
|
||||
except Group.DoesNotExist:
|
||||
raise NameError("There is no Group %d" % group_id)
|
||||
raise NameError("There is no group %d" % group_id)
|
||||
else:
|
||||
group = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user