Commit 193935c1 authored by Milan van Stiphout's avatar Milan van Stiphout
Browse files

Change cost to fine and add minimum fine

Changes "cost" field of events into "fine", to solve confusion regarding this.
Also places a minimum of 5 (euros) on the fine field, as is policy by the current board.
parent 6233f35b
# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2017-02-15 20:13
# Generated by Django 1.10.3 on 2017-02-15 20:48
from __future__ import unicode_literals
import django.core.validators
......@@ -13,13 +13,12 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RemoveField(
model_name='event',
name='cost',
),
migrations.AddField(
migrations.RenameField('Event', 'cost', 'fine'),
migrations.AlterField(
model_name='event',
name='fine',
field=models.DecimalField(decimal_places=2, default=0, help_text='Fine if participant does not show up (at least €5).', max_digits=5, validators=[django.core.validators.MinValueValidator(5)], verbose_name='fine'),
field=models.DecimalField(decimal_places=2, default=0,
help_text='Fine if participant does not show up (at least €5).', max_digits=5,
validators=[django.core.validators.MinValueValidator(5)], verbose_name='fine'),
),
]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment