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