0001_initial.py 760 B

1234567891011121314151617181920212223242526
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Role',
  10. fields=[
  11. ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
  12. ('name', models.CharField(max_length=255)),
  13. ('special_role', models.CharField(max_length=255, null=True, blank=True)),
  14. ('pickled_permissions', models.TextField(null=True, blank=True)),
  15. ],
  16. options={
  17. 'abstract': False,
  18. },
  19. bases=(models.Model,),
  20. ),
  21. ]