text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.5 on 2017-04-13 15:27
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  import filer.fields.image
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('filer', '0007_auto_20161016_1055'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Category',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50)),
                  ('description', models.TextField(blank=True, null=True)),
                  ('slug', models.SlugField(unique=True)),
                  ('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='filer.Image')),
              ],
              options={
                  'verbose_name_plural': 'Categories',
              },
          ),
          migrations.CreateModel(
              name='Product',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('slug', models.SlugField(unique=True)),
                  ('sku', models.CharField(max_length=50, unique=True, verbose_name='Reference Number')),
                  ('created_at', models.DateTimeField(auto_now=True)),
                  ('updated_at', models.DateTimeField(auto_now_add=True)),
                  ('price', models.DecimalField(decimal_places=2, max_digits=10)),
                  ('perex', models.TextField(max_length=255)),
                  ('content', models.TextField(verbose_name='Content Description')),
                  ('is_active', models.BooleanField(default=True, verbose_name='Active')),
                  ('is_featured', models.BooleanField(default=False, verbose_name='Featured')),
                  ('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='products.Category')),
                  ('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='filer.Image')),
              ],
              options={
                  'ordering': ['-created_at'],
              },
          ),
      ]
  