Free and open source ticket system written in python
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 6ae879fb49a43fbdfd7ce1fc219c445ed14ffb7e 8 lines 279 B view raw
1from django.contrib.auth.management import create_permissions 2from django.contrib.auth.models import Group, Permission 3 4 5def populate_groups(apps, schema_editor): 6 user_roles = ["Client", "Supporter"] 7 for name in user_roles: 8 Group.objects.get_or_create(name=name)