forked from enviPath/enviPy
Implement basic Group handling (#3)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#3
This commit is contained in:
@ -25,7 +25,7 @@ class Command(BaseCommand):
|
||||
else:
|
||||
admin = User.objects.get(email='admin@lorsba.ch')
|
||||
|
||||
g = GroupManager.create_group(admin)
|
||||
g = GroupManager.create_group(admin, 'enviPath Users', 'All enviPath Users')
|
||||
g.user_member.add(anon)
|
||||
g.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user