update accounting model for bigger decimal
This commit is contained in:
parent
1323976521
commit
778078e86d
20
billard/migrations/0017_auto_20170302_1610.py
Normal file
20
billard/migrations/0017_auto_20170302_1610.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.5 on 2017-03-02 16:10
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('billard', '0016_auto_20170225_1822'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='accounting',
|
||||
name='prize',
|
||||
field=models.DecimalField(blank=True, decimal_places=2, max_digits=6, null=True, verbose_name='Preis'),
|
||||
),
|
||||
]
|
@ -102,7 +102,7 @@ class Accounting(models.Model):
|
||||
desk = models.ForeignKey(Desk, verbose_name="Tisch")
|
||||
time_from = models.DateTimeField(verbose_name="Beginn")
|
||||
time_to = models.DateTimeField(blank=True, null=True, verbose_name="Ende")
|
||||
prize = models.DecimalField(max_digits=5, decimal_places=2, blank=True, null=True, verbose_name="Preis")
|
||||
prize = models.DecimalField(max_digits=6, decimal_places=2, blank=True, null=True, verbose_name="Preis")
|
||||
billed = models.BooleanField(default=False, verbose_name="Abgerechnet")
|
||||
|
||||
def __str__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user