django-refunds/refunding/migrations/0003_auto_20170410_1208.py

62 lines
2.1 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2017-04-10 10:08
from __future__ import unicode_literals
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('refunding', '0002_auto_20160604_0140'),
]
operations = [
migrations.AlterModelOptions(
name='payment',
options={'verbose_name': 'paiement', 'verbose_name_plural': 'paiements'},
),
migrations.AlterModelOptions(
name='refund',
options={'verbose_name': 'remboursement', 'verbose_name_plural': 'remboursements'},
),
migrations.AlterField(
model_name='payment',
name='date',
field=models.DateField(default=datetime.date.today),
),
migrations.AlterField(
model_name='payment',
name='refund',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='refunding.Refund', verbose_name='remboursement'),
),
migrations.AlterField(
model_name='payment',
name='title',
field=models.CharField(max_length=100, verbose_name='titre'),
),
migrations.AlterField(
model_name='payment',
name='user',
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='utilisateur'),
),
migrations.AlterField(
model_name='payment',
name='value',
field=models.IntegerField(verbose_name='valeur'),
),
migrations.AlterField(
model_name='refund',
name='title',
field=models.CharField(max_length=100, verbose_name='titre'),
),
migrations.AlterField(
model_name='refund',
name='user',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='utilisateur'),
),
]