# Generated by Django 2.1.5 on 2020-02-14 01:48
from django.db import migrations, models
from rango.models import Category
import uuid

class Migration(migrations.Migration):

    dependencies = [
        ('rango', '0003_auto_20200214_0034'),
    ]

    def gen_slug(apps, schema_editor):
        for row in Category.objects.all():
            row.slug = slugify(row.name)
            row.save()

    operations = [
        migrations.AddField(
            model_name='category',
            name='slug',
            field=models.SlugField(default=uuid.uuid4),
            preserve_default=True,
        ),
        migrations.RunPython(gen_slug),

        migrations.AlterField(
            model_name='category',
            name='slug',
            field=models.SlugField(default=uuid.uuid4, unique=True),
        ),
    ]

173baf4b353056071ad059f0ab31b8f58a981939
<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>

    def gen_slug(apps, schema_editor):
        for row in Category.objects.all():
            row.slug = slugify(row.name)
            row.save()
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [('rango', '0003_auto_20200214_0034')]

    def gen_slug(apps, schema_editor):
        for row in Category.objects.all():
            row.slug = slugify(row.name)
            row.save()
    operations = [migrations.AddField(model_name='category', name='slug',
        field=models.SlugField(default=uuid.uuid4), preserve_default=True),
        migrations.RunPython(gen_slug), migrations.AlterField(model_name=
        'category', name='slug', field=models.SlugField(default=uuid.uuid4,
        unique=True))]

from django.db import migrations, models
from rango.models import Category
import uuid


class Migration(migrations.Migration):
    dependencies = [('rango', '0003_auto_20200214_0034')]

    def gen_slug(apps, schema_editor):
        for row in Category.objects.all():
            row.slug = slugify(row.name)
            row.save()
    operations = [migrations.AddField(model_name='category', name='slug',
        field=models.SlugField(default=uuid.uuid4), preserve_default=True),
        migrations.RunPython(gen_slug), migrations.AlterField(model_name=
        'category', name='slug', field=models.SlugField(default=uuid.uuid4,
        unique=True))]

# Generated by Django 2.1.5 on 2020-02-14 01:48
from django.db import migrations, models
from rango.models import Category
import uuid

class Migration(migrations.Migration):

    dependencies = [
        ('rango', '0003_auto_20200214_0034'),
    ]

    def gen_slug(apps, schema_editor):
        for row in Category.objects.all():
            row.slug = slugify(row.name)
            row.save()

    operations = [
        migrations.AddField(
            model_name='category',
            name='slug',
            field=models.SlugField(default=uuid.uuid4),
            preserve_default=True,
        ),
        migrations.RunPython(gen_slug),

        migrations.AlterField(
            model_name='category',
            name='slug',
            field=models.SlugField(default=uuid.uuid4, unique=True),
        ),
    ]
