Free and open source ticket system written in python
Something went wrong. Try again.
123456789from django.contrib.auth.management import create_permissionsfrom django.contrib.auth.models import Group, Permission
def populate_groups(apps, schema_editor): user_roles = ["Client", "Supporter"] for name in user_roles: Group.objects.get_or_create(name=name)