summaryrefslogtreecommitdiff
path: root/devel/migrations/0002_staffgroup.py
blob: 5679e6a36a2d6682e57ded4334fde30814964ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('auth', '0001_initial'),
        ('devel', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='StaffGroup',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=100)),
                ('slug', models.SlugField(unique=True, max_length=100)),
                ('sort_order', models.PositiveIntegerField()),
                ('member_title', models.CharField(max_length=100)),
                ('description', models.TextField(blank=True)),
                ('group', models.OneToOneField(to='auth.Group')),
            ],
            options={
                'ordering': ('sort_order',),
            },
            bases=(models.Model,),
        ),
    ]