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


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