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 5edd527aaba4e33b526f04f58d0db2b8a4ef278e 8 lines 272 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.create(name=name)