# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import autoslug.fields class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('name', models.CharField(max_length=100)), ('code', models.CharField(max_length=10, blank=True)), ('iacuc_number', models.CharField(max_length=25, blank=True)), ('description', models.CharField(max_length=255, blank=True)), ('sort_order', models.IntegerField(null=True, blank=True)), ('slug', autoslug.fields.AutoSlugField(populate_from='name', editable=False)), ], options={ 'ordering': ['sort_order'], }, ), migrations.AlterUniqueTogether( name='project', unique_together=set([('name', 'code')]), ), ]