mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 11:59:23 +00:00
Finish the launderette click view
This commit is contained in:
21
launderette/migrations/0008_token_product.py
Normal file
21
launderette/migrations/0008_token_product.py
Normal file
@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('counter', '0011_counter_sellers'),
|
||||
('launderette', '0007_auto_20160801_1929'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='token',
|
||||
name='product',
|
||||
field=models.ForeignKey(related_name='tokens', to='counter.Product', default=1, verbose_name='product'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
18
launderette/migrations/0009_remove_token_product.py
Normal file
18
launderette/migrations/0009_remove_token_product.py
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('launderette', '0008_token_product'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='token',
|
||||
name='product',
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user