Sith/stock/migrations/0003_auto_20170105_2138.py

33 lines
993 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0002_auto_20170105_2017'),
]
operations = [
migrations.RemoveField(
model_name='stockitem',
name='bought_quantity',
),
migrations.RemoveField(
model_name='stockitem',
name='tobuy_quantity',
),
migrations.AddField(
model_name='shoppinglist',
name='bought_quantity',
field=models.IntegerField(help_text='quantity bought during the last shopping session', default=6, verbose_name='quantity bought'),
),
migrations.AddField(
model_name='shoppinglist',
name='tobuy_quantity',
field=models.IntegerField(help_text='quantity to buy during the next shopping session', default=6, verbose_name='quantity to buy'),
),
]