SpitiGlykou
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 08:32
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import phonenumber_field.modelfields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Customer',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=128)),
|
||||
('address', models.CharField(blank=True, max_length=128)),
|
||||
('telephone', phonenumber_field.modelfields.PhoneNumberField(blank=True, max_length=128, region=None)),
|
||||
('social_media', models.CharField(blank=True, max_length=128)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Order',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('order_id', models.CharField(max_length=32)),
|
||||
('order_date', models.DateField()),
|
||||
('delivery_date', models.DateField()),
|
||||
('customer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='orders_app.customer')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Product',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=128)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Store',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=128)),
|
||||
('address', models.CharField(max_length=128)),
|
||||
('telephone', phonenumber_field.modelfields.PhoneNumberField(max_length=128, region=None)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='OrderProduct',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=128)),
|
||||
('amount', models.FloatField(blank=True)),
|
||||
('color1', models.CharField(blank=True, max_length=128)),
|
||||
('color2', models.CharField(blank=True, max_length=128)),
|
||||
('color3', models.CharField(blank=True, max_length=128)),
|
||||
('attr1', models.CharField(blank=True, max_length=128)),
|
||||
('attr2', models.CharField(blank=True, max_length=128)),
|
||||
('attr3', models.CharField(blank=True, max_length=128)),
|
||||
('attr4', models.CharField(blank=True, max_length=128)),
|
||||
('order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='orders_app.order')),
|
||||
('type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='orders_app.product')),
|
||||
],
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(related_name='_order_order_products_+', to='orders_app.OrderProduct'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='store',
|
||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='orders_app.store'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 08:36
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='order',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 08:42
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0002_remove_orderproduct_order'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='name2',
|
||||
field=models.CharField(default='az', max_length=128),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 09:15
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0003_orderproduct_name2'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='orderproduct',
|
||||
old_name='type',
|
||||
new_name='product',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='order_id',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='name2',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='order',
|
||||
field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.order'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 09:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0004_auto_20210401_1215'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(through='orders_app.OrderProduct', to='orders_app.Product'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 09:20
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0005_order_order_products'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='order_id',
|
||||
field=models.CharField(default='00000', max_length=32),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,39 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 09:30
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0006_order_order_id'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='order',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='product',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='order',
|
||||
field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.order'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='product',
|
||||
field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.orderproduct'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(related_name='_order_order_products_+', through='orders_app.Product', to='orders_app.OrderProduct'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,51 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-01 09:39
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0007_auto_20210401_1230'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='attr3',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='attr4',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='color3',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='product',
|
||||
name='order',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='product',
|
||||
name='product',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='order',
|
||||
field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.order'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='product',
|
||||
field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.product'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(related_name='_order_order_products_+', through='orders_app.OrderProduct', to='orders_app.Product'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,35 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 05:48
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('orders_app', '0008_auto_20210401_1239'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Collection',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('subject', models.CharField(blank=True, max_length=300)),
|
||||
('owner', models.CharField(blank=True, max_length=300)),
|
||||
('note', models.TextField(blank=True)),
|
||||
('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='collections', to=settings.AUTH_USER_MODEL)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='CollectionTitle',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=500, verbose_name='Title')),
|
||||
('language', models.CharField(max_length=3)),
|
||||
('collection', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='has_titles', to='orders_app.collection')),
|
||||
],
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 08:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0009_collection_collectiontitle'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='attr1',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='attr2',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='info',
|
||||
field=models.CharField(blank=True, max_length=512),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 08:39
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0010_auto_20210402_1137'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='orderproduct',
|
||||
old_name='color1',
|
||||
new_name='color',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='color2',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='name',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 10:19
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0011_auto_20210402_1139'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='color2',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 10:22
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0012_orderproduct_color2'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='orderproduct',
|
||||
old_name='color',
|
||||
new_name='color1',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 10:23
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0013_auto_20210402_1322'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='amount',
|
||||
field=models.FloatField(),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,32 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 11:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0014_auto_20210402_1323'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='collectiontitle',
|
||||
name='collection',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='order_id',
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(blank=True, related_name='_order_order_products_+', through='orders_app.OrderProduct', to='orders_app.Product'),
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='Collection',
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='CollectionTitle',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 11:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0015_auto_20210402_1425'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(related_name='_order_order_products_+', through='orders_app.OrderProduct', to='orders_app.Product'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 12:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0016_auto_20210402_1459'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(blank=True, related_name='_order_order_products_+', through='orders_app.OrderProduct', to='orders_app.Product'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 17:42
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0017_auto_20210402_1512'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='customer',
|
||||
field=models.ForeignKey(default='1', on_delete=django.db.models.deletion.CASCADE, to='orders_app.customer'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-02 17:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0018_auto_20210402_2042'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='customer',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='order_products',
|
||||
field=models.ManyToManyField(blank=True, related_name='_order_order_products_+', through='orders_app.OrderProduct', to='orders_app.Product'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-03 08:05
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0019_auto_20210402_2045'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='amount',
|
||||
field=models.FloatField(blank=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-03 11:29
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0020_auto_20210403_1105'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('ΝΕΑ', 'ΝΕΑ'), ('ΕΠΕ', 'ΕΠΕ'), ('ΕΤΜ', 'ΕΤΟΙΜΗ')], default='ΝΕΑ', max_length=3),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_date',
|
||||
field=models.DateTimeField(auto_now_add=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-03 11:33
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0021_auto_20210403_1429'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='delivery_date',
|
||||
field=models.DateTimeField(),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('ΝΕΑ', 'ΝΕΑ'), ('ΕΠΕ', 'ΥΠΟ ΕΠΕΞΕΡΓΑΣΙΑ'), ('ΕΤΜ', 'ΕΤΟΙΜΗ')], default='ΝΕΑ', max_length=3),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-03 11:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0022_auto_20210403_1433'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='delivery_date',
|
||||
field=models.DateField(),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-04 05:40
|
||||
|
||||
import django.core.validators
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0023_auto_20210403_1437'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='amount',
|
||||
field=models.FloatField(validators=[django.core.validators.MinValueValidator(0.01), django.core.validators.MaxValueValidator(999)]),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-04 10:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0024_auto_20210404_0840'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('ΝΕΑ', 'ΝΕΑ'), ('ΕΠΕ', 'ΥΠΟ ΕΠΕΞΕΡΓΑΣΙΑ'), ('ΕΤΜ', 'ΕΤΟΙΜΗ')], max_length=3),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-04 10:20
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0025_auto_20210404_1313'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='status',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='order_status',
|
||||
field=models.CharField(choices=[('ΝΕΑ', 'ΝΕΑ'), ('ΕΠΕ', 'ΥΠΟ ΕΠΕΞΕΡΓΑΣΙΑ'), ('ΕΤΜ', 'ΕΤΟΙΜΗ')], default='ΝΕΑ', max_length=3),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-05 07:19
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0026_auto_20210404_1320'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='order_info',
|
||||
field=models.CharField(blank=True, max_length=512),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-05 07:37
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0027_order_order_info'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='customer',
|
||||
name='email',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-28 06:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0028_customer_email'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='flavor',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='type',
|
||||
field=models.CharField(choices=[('ΤΟΥΡΤΕΣ ΓΕΝΕΘΛΙΩΝ', 'ΤΟΥΡΤΕΣ ΓΕΝΕΘΛΙΩΝ'), ('ΤΟΥΡΤΕΣ ΒΟΥΤΗΡΟΚΡΕΜΑ - ΖΑΧΑΡΟΠΑΣΤΑ', 'ΤΟΥΡΤΕΣ ΒΟΥΤΗΡΟΚΡΕΜΑ - ΖΑΧΑΡΟΠΑΣΤΑ'), ('ΤΟΥΡΤΕΣ ΓΑΜΟΥ-ΑΡΡΑΒΩΝΑ', 'ΤΟΥΡΤΕΣ ΓΑΜΟΥ-ΑΡΡΑΒΩΝΑ'), ('ΒΑΠΤΙΣΗ', 'ΒΑΠΤΙΣΗ'), ('CANDY BAR', 'CANDY BAR'), ('ΔΙΑΦΟΡΑ', 'ΒΑΠΤΙΣΗ')], default=1, max_length=45),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,31 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-28 08:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0029_auto_20210428_0925'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='product',
|
||||
name='flavor',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='product',
|
||||
name='type',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='flavor',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='type',
|
||||
field=models.CharField(blank=True, choices=[('ΤΟΥΡΤΕΣ ΓΕΝΕΘΛΙΩΝ', 'ΤΟΥΡΤΕΣ ΓΕΝΕΘΛΙΩΝ'), ('ΤΟΥΡΤΕΣ ΒΟΥΤΗΡΟΚΡΕΜΑ - ΖΑΧΑΡΟΠΑΣΤΑ', 'ΤΟΥΡΤΕΣ ΒΟΥΤΗΡΟΚΡΕΜΑ - ΖΑΧΑΡΟΠΑΣΤΑ'), ('ΤΟΥΡΤΕΣ ΓΑΜΟΥ-ΑΡΡΑΒΩΝΑ', 'ΤΟΥΡΤΕΣ ΓΑΜΟΥ-ΑΡΡΑΒΩΝΑ'), ('ΒΑΠΤΙΣΗ', 'ΒΑΠΤΙΣΗ'), ('CANDY BAR', 'CANDY BAR'), ('ΔΙΑΦΟΡΑ', 'ΒΑΠΤΙΣΗ')], max_length=45),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,52 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-28 09:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0030_auto_20210428_1156'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='orderproduct',
|
||||
old_name='flavor',
|
||||
new_name='cake_color_other',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='type',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cake_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cake_flavor',
|
||||
field=models.CharField(blank=True, choices=[('Ανάμεικτη', 'Ανάμεικτη '), ('Αγριοκέρασο', 'Αγριοκέρασο'), ('Ανάμεικτη Αγριοκέρασο', 'Ανάμεικτη Αγριοκέρασο'), ('Μπισκότο', 'Μπισκότο'), ('Oreo', 'Oreo'), ('Kinder', 'Kinder'), ('Σοκολάτα Φράουλα', 'Σοκολάτα Φράουλα'), ('Ferrero', 'Ferrero'), ('Nutella', 'Nutella'), ('Σοκολάτα Μπισκότο', 'Σοκολάτα Μπισκότο'), ('Λεμονί', 'Λεμονί'), ('Μπανάνα', 'Μπανάνα '), ('Σοκολατίνα', 'Σοκολατίνα'), ('Τιραμισού', 'Τιραμισού'), ('Φράουλα Κρέμα', 'Φράουλα Κρέμα'), ('Δούκισσα μπισκότο', 'Δούκισσα μπισκότο'), ('Καραμέλα', 'Καραμέλα'), ('Ανάμεικτη Σαμπάνια', 'Ανάμεικτη Σαμπάνια'), ('Γιαούρτι Ανανάς', 'Γιαούρτι Ανανάς ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type',
|
||||
field=models.CharField(blank=True, choices=[('ΤΟΥΡΤΕΣ ΓΕΝΕΘΛΙΩΝ', 'ΤΟΥΡΤΕΣ ΓΕΝΕΘΛΙΩΝ'), ('ΤΟΥΡΤΕΣ ΒΟΥΤΗΡΟΚΡΕΜΑ-ΖΑΧΑΡΟΠΑΣΤΑ', 'ΤΟΥΡΤΕΣ ΒΟΥΤΗΡΟΚΡΕΜΑ-ΖΑΧΑΡΟΠΑΣΤΑ'), ('ΤΟΥΡΤΕΣ ΓΑΜΟΥ-ΑΡΡΑΒΩΝΑ', 'ΤΟΥΡΤΕΣ ΓΑΜΟΥ-ΑΡΡΑΒΩΝΑ'), ('ΒΑΠΤΙΣΗ', 'ΒΑΠΤΙΣΗ'), ('CANDY BAR', 'CANDY BAR'), ('ΔΙΑΦΟΡΑ', 'ΒΑΠΤΙΣΗ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cup_flavor',
|
||||
field=models.CharField(blank=True, choices=[('Προφιτερόλ', 'Προφιτερόλ'), ('Εκμέκ', 'Εκμέκ'), ('Banoffee', 'Banoffee'), ('Τιραμισού Brownies', 'Τιραμισού Brownies'), ('Τσιζκεικ', 'Τσιζκεικ'), ('Lemon pie', 'Lemon pie'), ('Φερρέρο Brownies', 'Φερρέρο Brownies'), ('Μους Brownies', 'Μους Brownies'), ('Lila Pause', 'Lila Pause')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='fyt_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='fyt_color_other',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,96 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-28 12:15
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0031_auto_20210428_1251'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_decor',
|
||||
field=models.CharField(blank=True, choices=[('ΔΙΑΚΟΣΜΗΣΗ', 'ΔΙΑΚΟΣΜΗΣΗ'), ('ΠΟΛΥΧΡΩΜΗ ΤΡΟΥΦΑ', 'ΠΟΛΥΧΡΩΜΗ ΤΡΟΥΦΑ'), ('ΧΡΩΜΑΤΙΣΤΗ ΤΡΟΥΦΑ', 'ΧΡΩΜΑΤΙΣΤΗ ΤΡΟΥΦΑ'), ('ΓΡΑΜΜΕΣ ΣΟΚΟΛΑΤΑΣ', 'ΓΡΑΜΜΕΣ ΣΟΚΟΛΑΤΑΣ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_decor_other',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_wrap',
|
||||
field=models.CharField(blank=True, choices=[('ΤΥΛΙΓΜΕΝΑ', 'ΤΥΛΙΓΜΕΝΑ'), ('ΑΤΥΛΙΧΤΑ', 'ΑΤΥΛΙΧΤΑ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_3d',
|
||||
field=models.CharField(blank=True, choices=[('ΝΑΙ', 'ΝΑΙ'), ('ΟΧΙ', 'ΟΧΙ')], default='ΟΧΙ', max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_height',
|
||||
field=models.FloatField(blank=True, default=1, max_length=128),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cup_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cup_color_other',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cup_type',
|
||||
field=models.CharField(blank=True, choices=[('ΚΥΠΕΛΛΟ', 'ΚΥΠΕΛΛΟ'), ('ΤΕΤΡΑΓΩΝΟ ', 'ΤΕΤΡΑΓΩΝΟ '), ('ΣΤΡΟΓΓΥΛΟ', 'ΣΤΡΟΓΓΥΛΟ'), ('ΣΦΗΝΑΚΙ', 'ΣΦΗΝΑΚΙ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='delivery',
|
||||
field=models.CharField(blank=True, choices=[('ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ', 'ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ'), ('ΑΠΟΣΤΟΛΗ', 'ΑΠΟΣΤΟΛΗ')], default='ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ', max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_base',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_glaze',
|
||||
field=models.CharField(blank=True, choices=[('ΓΛΑΣΣΟ', 'ΓΛΑΣΣΟ'), ('ΣΑΝΤΙΓΥ', 'ΣΑΝΤΙΓΥ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_pcs_other',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_piecies',
|
||||
field=models.CharField(blank=True, choices=[('ΑΤΟΜΙΚΑ', 'ΑΤΟΜΙΚΑ'), ('ΚΥΠΕΛΛΟ', 'ΚΥΠΕΛΛΟ'), ('ΣΦΗΝΑΚΙ', 'ΣΦΗΝΑΚΙ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_type',
|
||||
field=models.CharField(blank=True, choices=[('ΑΡΡΑΒΩΝΑΣ', 'ΑΡΡΑΒΩΝΑΣ'), ('ΓΑΜΟΣ', 'ΓΑΜΟΣ')], max_length=45),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='store_pickup',
|
||||
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='orders_app.store'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type',
|
||||
field=models.CharField(blank=True, choices=[('KARDASIS', 'KARDASIS'), ('PAN DÉCOR', 'PAN DÉCOR')], max_length=45),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 12:57
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0032_auto_20210428_1515'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='color1',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='color2',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_type',
|
||||
field=models.CharField(blank=True, choices=[('Cup cake με επικάλυψη και διακοσμητικά ζαχαρόπαστας', 'Cup cake με επικάλυψη και διακοσμητικά ζαχαρόπαστας'), ('Cup cakes με ζαχαρόπαστα και εκτύπωση', 'Cup cakes με ζαχαρόπαστα και εκτύπωση'), ('Cup cakes με χρωματιστή βουτυρόκρεμα', 'Cup cakes με χρωματιστή βουτυρόκρεμα'), ('Donuts με χρωματιστό γλάσσο', 'Donuts με χρωματιστό γλάσσο'), ('Pop cakes ', 'Pop cakes '), ('Μπισκότα με επικάλυψη ζαχαρόπαστας ', 'Μπισκότα με επικάλυψη ζαχαρόπαστας '), ('Μπισκότα με επικάλυψη και διακοσμητικά ζαχαρόπαστας', 'Μπισκότα με επικάλυψη και διακοσμητικά ζαχαρόπαστας'), ('Μπισκότα με επικάλυψη χρωματιστής σοκολάτας', 'Μπισκότα με επικάλυψη χρωματιστής σοκολάτας'), ('Μπισκότα σε σχήμα', 'Μπισκότα σε σχήμα'), ('Στρόγγυλα μπισκότα με επικάλυψη ζαχαρόπαστας και εκτύπωση ', 'Στρόγγυλα μπισκότα με επικάλυψη ζαχαρόπαστας και εκτύπωση '), ('Χωνάκι παγωτού με πολύχρωμα ζαχαρωτά τυλιγμένα σε ζελατίνα', 'Χωνάκι παγωτού με πολύχρωμα ζαχαρωτά τυλιγμένα σε ζελατίνα'), ('Μπεζεδάκια πολύχρωμα γεμιστά με κρέμα ', 'Μπεζεδάκια πολύχρωμα γεμιστά με κρέμα '), ('Μπολ με πολύχρωμα Marshmallows', 'Μπολ με πολύχρωμα Marshmallows'), ('Μπολ με κουφέτα ', 'Μπολ με κουφέτα '), ('Μπολ με μίνι σοκολάτες (Twix, Bueno, Derby, Lacta, Σοκοφρέτα)', 'Μπολ με μίνι σοκολάτες (Twix, Bueno, Derby, Lacta, Σοκοφρέτα)'), ('Μπολ με πολύχρωμους μπεζέδες', 'Μπολ με πολύχρωμους μπεζέδες'), ('Γλειφιτζούρια spiral (ροζ, γαλάζια)', 'Γλειφιτζούρια spiral (ροζ, γαλάζια)')], max_length=61),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 15:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0033_auto_20210430_1557'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΔΙΑΦΑΝΟ', 'ΔΙΑΦΑΝΟ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cup_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΔΙΑΦΑΝΟ', 'ΔΙΑΦΑΝΟ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='fyt_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΔΙΑΦΑΝΟ', 'ΔΙΑΦΑΝΟ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 17:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0034_auto_20210430_1856'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type_num',
|
||||
field=models.FloatField(blank=True, default=11, max_length=128),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,36 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 18:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0035_orderproduct_cake_type_num'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='delivery',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='orderproduct',
|
||||
name='store_pickup',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='delivery',
|
||||
field=models.CharField(blank=True, choices=[('ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ', 'ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ'), ('ΑΠΟΣΤΟΛΗ', 'ΑΠΟΣΤΟΛΗ')], default='ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ', max_length=45),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type_num',
|
||||
field=models.FloatField(blank=True, default='0', max_length=128),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_height',
|
||||
field=models.FloatField(blank=True, default='0', max_length=128),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 19:19
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0036_auto_20210430_2154'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='delivery',
|
||||
field=models.CharField(choices=[('ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ', 'ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ'), ('ΑΠΟΣΤΟΛΗ', 'ΑΠΟΣΤΟΛΗ')], default='ΠΑΡΑΛΑΒΗ ΑΠΟ ΚΑΤΑΣΤΗΜΑ', max_length=45),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_height',
|
||||
field=models.FloatField(default='0', max_length=128),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 19:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0037_auto_20210430_2219'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_height',
|
||||
field=models.FloatField(blank=True, default='0', max_length=128, null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,118 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 19:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0038_auto_20210430_2222'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΔΙΑΦΑΝΟ', 'ΔΙΑΦΑΝΟ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_color_other',
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_flavor',
|
||||
field=models.CharField(blank=True, choices=[('Ανάμεικτη', 'Ανάμεικτη '), ('Αγριοκέρασο', 'Αγριοκέρασο'), ('Ανάμεικτη Αγριοκέρασο', 'Ανάμεικτη Αγριοκέρασο'), ('Μπισκότο', 'Μπισκότο'), ('Oreo', 'Oreo'), ('Kinder', 'Kinder'), ('Σοκολάτα Φράουλα', 'Σοκολάτα Φράουλα'), ('Ferrero', 'Ferrero'), ('Nutella', 'Nutella'), ('Σοκολάτα Μπισκότο', 'Σοκολάτα Μπισκότο'), ('Λεμονί', 'Λεμονί'), ('Μπανάνα', 'Μπανάνα '), ('Σοκολατίνα', 'Σοκολατίνα'), ('Τιραμισού', 'Τιραμισού'), ('Φράουλα Κρέμα', 'Φράουλα Κρέμα'), ('Δούκισσα μπισκότο', 'Δούκισσα μπισκότο'), ('Καραμέλα', 'Καραμέλα'), ('Ανάμεικτη Σαμπάνια', 'Ανάμεικτη Σαμπάνια'), ('Γιαούρτι Ανανάς', 'Γιαούρτι Ανανάς ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type',
|
||||
field=models.CharField(blank=True, choices=[('KARDASIS', 'KARDASIS'), ('PAN DÉCOR', 'PAN DÉCOR')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type_num',
|
||||
field=models.FloatField(blank=True, default='0', max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_decor',
|
||||
field=models.CharField(blank=True, choices=[('ΔΙΑΚΟΣΜΗΣΗ', 'ΔΙΑΚΟΣΜΗΣΗ'), ('ΠΟΛΥΧΡΩΜΗ ΤΡΟΥΦΑ', 'ΠΟΛΥΧΡΩΜΗ ΤΡΟΥΦΑ'), ('ΧΡΩΜΑΤΙΣΤΗ ΤΡΟΥΦΑ', 'ΧΡΩΜΑΤΙΣΤΗ ΤΡΟΥΦΑ'), ('ΓΡΑΜΜΕΣ ΣΟΚΟΛΑΤΑΣ', 'ΓΡΑΜΜΕΣ ΣΟΚΟΛΑΤΑΣ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_decor_other',
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_type',
|
||||
field=models.CharField(blank=True, choices=[('Cup cake με επικάλυψη και διακοσμητικά ζαχαρόπαστας', 'Cup cake με επικάλυψη και διακοσμητικά ζαχαρόπαστας'), ('Cup cakes με ζαχαρόπαστα και εκτύπωση', 'Cup cakes με ζαχαρόπαστα και εκτύπωση'), ('Cup cakes με χρωματιστή βουτυρόκρεμα', 'Cup cakes με χρωματιστή βουτυρόκρεμα'), ('Donuts με χρωματιστό γλάσσο', 'Donuts με χρωματιστό γλάσσο'), ('Pop cakes ', 'Pop cakes '), ('Μπισκότα με επικάλυψη ζαχαρόπαστας ', 'Μπισκότα με επικάλυψη ζαχαρόπαστας '), ('Μπισκότα με επικάλυψη και διακοσμητικά ζαχαρόπαστας', 'Μπισκότα με επικάλυψη και διακοσμητικά ζαχαρόπαστας'), ('Μπισκότα με επικάλυψη χρωματιστής σοκολάτας', 'Μπισκότα με επικάλυψη χρωματιστής σοκολάτας'), ('Μπισκότα σε σχήμα', 'Μπισκότα σε σχήμα'), ('Στρόγγυλα μπισκότα με επικάλυψη ζαχαρόπαστας και εκτύπωση ', 'Στρόγγυλα μπισκότα με επικάλυψη ζαχαρόπαστας και εκτύπωση '), ('Χωνάκι παγωτού με πολύχρωμα ζαχαρωτά τυλιγμένα σε ζελατίνα', 'Χωνάκι παγωτού με πολύχρωμα ζαχαρωτά τυλιγμένα σε ζελατίνα'), ('Μπεζεδάκια πολύχρωμα γεμιστά με κρέμα ', 'Μπεζεδάκια πολύχρωμα γεμιστά με κρέμα '), ('Μπολ με πολύχρωμα Marshmallows', 'Μπολ με πολύχρωμα Marshmallows'), ('Μπολ με κουφέτα ', 'Μπολ με κουφέτα '), ('Μπολ με μίνι σοκολάτες (Twix, Bueno, Derby, Lacta, Σοκοφρέτα)', 'Μπολ με μίνι σοκολάτες (Twix, Bueno, Derby, Lacta, Σοκοφρέτα)'), ('Μπολ με πολύχρωμους μπεζέδες', 'Μπολ με πολύχρωμους μπεζέδες'), ('Γλειφιτζούρια spiral (ροζ, γαλάζια)', 'Γλειφιτζούρια spiral (ροζ, γαλάζια)')], max_length=61, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='candy_bar_wrap',
|
||||
field=models.CharField(blank=True, choices=[('ΤΥΛΙΓΜΕΝΑ', 'ΤΥΛΙΓΜΕΝΑ'), ('ΑΤΥΛΙΧΤΑ', 'ΑΤΥΛΙΧΤΑ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cup_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΔΙΑΦΑΝΟ', 'ΔΙΑΦΑΝΟ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cup_color_other',
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cup_flavor',
|
||||
field=models.CharField(blank=True, choices=[('Προφιτερόλ', 'Προφιτερόλ'), ('Εκμέκ', 'Εκμέκ'), ('Banoffee', 'Banoffee'), ('Τιραμισού Brownies', 'Τιραμισού Brownies'), ('Τσιζκεικ', 'Τσιζκεικ'), ('Lemon pie', 'Lemon pie'), ('Φερρέρο Brownies', 'Φερρέρο Brownies'), ('Μους Brownies', 'Μους Brownies'), ('Lila Pause', 'Lila Pause')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cup_type',
|
||||
field=models.CharField(blank=True, choices=[('ΚΥΠΕΛΛΟ', 'ΚΥΠΕΛΛΟ'), ('ΤΕΤΡΑΓΩΝΟ ', 'ΤΕΤΡΑΓΩΝΟ '), ('ΣΤΡΟΓΓΥΛΟ', 'ΣΤΡΟΓΓΥΛΟ'), ('ΣΦΗΝΑΚΙ', 'ΣΦΗΝΑΚΙ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_base',
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_glaze',
|
||||
field=models.CharField(blank=True, choices=[('ΓΛΑΣΣΟ', 'ΓΛΑΣΣΟ'), ('ΣΑΝΤΙΓΥ', 'ΣΑΝΤΙΓΥ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_pcs_other',
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_piecies',
|
||||
field=models.CharField(blank=True, choices=[('ΑΤΟΜΙΚΑ', 'ΑΤΟΜΙΚΑ'), ('ΚΥΠΕΛΛΟ', 'ΚΥΠΕΛΛΟ'), ('ΣΦΗΝΑΚΙ', 'ΣΦΗΝΑΚΙ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='engagement_cake_type',
|
||||
field=models.CharField(blank=True, choices=[('ΑΡΡΑΒΩΝΑΣ', 'ΑΡΡΑΒΩΝΑΣ'), ('ΓΑΜΟΣ', 'ΓΑΜΟΣ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='fyt_color',
|
||||
field=models.CharField(blank=True, choices=[('ΛΕΥΚΟ', 'ΛΕΥΚΟ'), ('ΡΟΖ', 'ΡΟΖ'), ('ΣΙΕΛ', 'ΣΙΕΛ'), ('ΚΙΤΡΙΝΟ', 'ΚΙΤΡΙΝΟ'), ('ΠΡΑΣΙΝΟ', 'ΠΡΑΣΙΝΟ'), ('ΚΟΚΚΙΝΟ', 'ΚΟΚΚΙΝΟ'), ('ΜΠΛΕ', 'ΜΠΛΕ'), ('ΜΑΥΡΟ', 'ΜΑΥΡΟ'), ('ΣΕΡΑΝΟ', 'ΣΕΡΑΝΟ'), ('ΚΑΦΕ', 'ΚΑΦΕ'), ('ΒΕΡΑΜΑΝ', 'ΒΕΡΑΜΑΝ'), ('ΛΙΛΑ', 'ΛΙΛΑ'), ('ΦΟΥΞ', 'ΦΟΥΞ'), ('ΔΙΑΦΑΝΟ', 'ΔΙΑΦΑΝΟ'), ('ΆΛΛΟ', 'ΆΛΛΟ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='fyt_color_other',
|
||||
field=models.CharField(blank=True, max_length=128, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='info',
|
||||
field=models.CharField(blank=True, max_length=512, null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 19:35
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0039_auto_20210430_2225'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='orderproduct',
|
||||
old_name='engagement_cake_piecies',
|
||||
new_name='engagement_cake_pcs',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 20:17
|
||||
|
||||
import datetime
|
||||
from django.db import migrations, models
|
||||
from django.utils.timezone import utc
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0040_auto_20210430_2235'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_date',
|
||||
field=models.DateTimeField(default=datetime.datetime(2021, 4, 30, 20, 17, 31, 522831, tzinfo=utc)),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 20:23
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0041_auto_20210430_2317'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='order_date',
|
||||
field=models.DateTimeField(auto_now_add=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 21:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0042_auto_20210430_2323'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cake_img',
|
||||
field=models.ImageField(default=1, upload_to='uploaded_images/'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_img',
|
||||
field=models.ImageField(default=1, upload_to='uploaded_images/'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 21:06
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0043_auto_20210501_0000'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='uploaded_images/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='uploaded_images/'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.7 on 2021-04-30 21:32
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0044_auto_20210501_0006'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to=''),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to=''),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.7 on 2021-05-01 04:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0045_auto_20210501_0032'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='media/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='media/'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 3.1.7 on 2021-05-01 09:03
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0046_auto_20210501_0754'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to=''),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cake_type',
|
||||
field=models.CharField(blank=True, choices=[('KARDASIS', 'KARDASIS'), ('PAN DÉCOR', 'PAN DÉCOR'), ('ΦΩΤΟΓΡΑΦΙΑ', 'ΦΩΤΟΓΡΑΦΙΑ')], max_length=45, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='orderproduct',
|
||||
name='cream_cake_img',
|
||||
field=models.ImageField(blank=True, null=True, upload_to=''),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,44 @@
|
||||
# Generated by Django 3.1.7 on 2021-05-27 14:08
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('orders_app', '0047_auto_20210501_1203'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='order',
|
||||
name='customer',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='customer_address',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='customer_email',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='customer_name',
|
||||
field=models.CharField(default=1, max_length=128),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='customer_social_media',
|
||||
field=models.CharField(blank=True, max_length=128),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='customer_telephone',
|
||||
field=models.CharField(default=1, max_length=128),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user