Define a default value for Order.payment_fee

This commit is contained in:
Raphael Michel
2015-03-08 16:07:18 +01:00
parent 81ab0a4fd2
commit 8aec2cc6b0
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('pretixbase', '0016_auto_20150308_1017'),
]
operations = [
migrations.AlterField(
model_name='order',
name='payment_fee',
field=models.DecimalField(verbose_name='Payment method fee', default=0, max_digits=10, decimal_places=2),
),
]