Commit dac403c5 authored by Robert's avatar Robert

Use case insensitive groupname lookup

parent 9639d6e1
......@@ -194,7 +194,7 @@ class ContributionMailProcessor:
def is_valid_groupname(self, group_name):
try:
groups.Group.objects.get(slug=group_name.lower())
groups.Group.objects.get(slug__iexact=group_name.lower())
return True
except groups.Group.DoesNotExist:
return False
......
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