text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.4 on 2016-12-10 20:36
  from __future__ import unicode_literals
  
  import autoslug.fields
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  import model_utils.fields
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('organizations', '0002_auto_20161210_1948'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Category',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
                  ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
                  ('name', models.CharField(max_length=50, verbose_name='Name')),
                  ('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='name', unique=True, verbose_name='Slug')),
              ],
              options={
                  'verbose_name_plural': 'Categories',
                  'ordering': ['created'],
                  'verbose_name': 'Category',
              },
          ),
          migrations.AlterModelOptions(
              name='metacategory',
              options={'ordering': ['pk'], 'verbose_name': 'MetaCategory', 'verbose_name_plural': 'MetaCategorys'},
          ),
          migrations.AlterField(
              model_name='organization',
              name='jst',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='teryt_tree.JednostkaAdministracyjna', verbose_name='Unit of administrative division'),
          ),
          migrations.AddField(
              model_name='organization',
              name='category',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='organizations.Category', verbose_name='Category'),
          ),
      ]
  