GenericProduct: Remove image field and add slug field

This commit is contained in:
PCoder 2018-10-02 09:27:20 +02:00
commit 930333357e
2 changed files with 9 additions and 8 deletions

View file

@ -1,10 +1,9 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2018-09-26 07:23
# Generated by Django 1.9.4 on 2018-10-02 07:25
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import filer.fields.image
import utils.mixins
@ -26,7 +25,7 @@ class Migration(migrations.Migration):
('product_price', models.DecimalField(decimal_places=2, max_digits=6)),
('product_vat', models.DecimalField(decimal_places=4, default=0, max_digits=6)),
('product_is_subscription', models.BooleanField(default=True)),
('product_image', filer.fields.image.FilerImageField(blank=True, help_text='The product image', null=True, on_delete=django.db.models.deletion.CASCADE, to='filer.Image')),
('product_slug', models.SlugField(blank=True, help_text='An optional html id for the Section. Required to set as target of a link on page', null=True)),
],
bases=(utils.mixins.AssignPermissionsMixin, models.Model),
),