5bfe138a86
This will allow us to be a bit more dynamic in showing the people listings on the website. We'll be adding a Support Staff category to recognize those that do things around here but aren't technically developers. Signed-off-by: Dan McGee <dan@archlinux.org>
32 lines
1005 B
Python
32 lines
1005 B
Python
# -*- 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,),
|
|
),
|
|
]
|