Fix redirect for user group overview.

This commit is contained in:
Emanuel Schuetze 2011-09-05 19:53:40 +02:00
parent 41fbd456d2
commit 35c0b50940
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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