loadGroups.py 200 Bytes
Newer Older
1 2 3 4 5
from django.contrib.auth.models import Group


class LoadGroups(object):
    def __init__(self):
6 7
        Group.objects.get_or_create(name="Moderators")
        Group.objects.get_or_create(name="DRI")