Skip to content

Commit

Permalink
Case-sensitive group names, but surprised didn't see an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Mann committed Nov 17, 2024
1 parent 910aa87 commit b427605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lesgrandsvoisins/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def user_signed_up_callback(sender, request, user, **kargs):
from django.contrib.auth.models import Group

dashboard_user_group = Group.objects.get(name="dashboard")
dashboard_user_group = Group.objects.get(name="Dashboard")
user.groups.add(dashboard_user_group)


Expand Down

0 comments on commit b427605

Please sign in to comment.