092c3ce5d4
- frozen -> is_frozen - migration : - AccountNegative : frozen -> is_frozen - Rajout d'un default sur Checkout.balance
28 lines
702 B
Python
28 lines
702 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('kfet', '0005_auto_20160802_2154'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='checkout',
|
|
options={'ordering': ['-valid_to']},
|
|
),
|
|
migrations.RenameField(
|
|
model_name='account',
|
|
old_name='frozen',
|
|
new_name='is_frozen',
|
|
),
|
|
migrations.AlterField(
|
|
model_name='checkout',
|
|
name='balance',
|
|
field=models.DecimalField(max_digits=6, default=0, decimal_places=2),
|
|
),
|
|
]
|