update accounting model
This commit is contained in:
parent
7776bc844c
commit
02bb974a92
@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Generated by Django 1.10.5 on 2017-02-04 05:48
|
# Generated by Django 1.10.5 on 2017-02-04 10:17
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
@ -22,7 +22,6 @@ class Migration(migrations.Migration):
|
|||||||
('time_to', models.DateTimeField(blank=True, null=True)),
|
('time_to', models.DateTimeField(blank=True, null=True)),
|
||||||
('prize', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
|
('prize', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
|
||||||
('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Client')),
|
('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Client')),
|
||||||
('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='billard.Location')),
|
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'ordering': ['-time_from'],
|
'ordering': ['-time_from'],
|
||||||
|
@ -65,7 +65,6 @@ class Client(models.Model):
|
|||||||
|
|
||||||
|
|
||||||
class Accounting(models.Model):
|
class Accounting(models.Model):
|
||||||
location = models.ForeignKey(Location)
|
|
||||||
client = models.ForeignKey(Client)
|
client = models.ForeignKey(Client)
|
||||||
desk_no = models.IntegerField()
|
desk_no = models.IntegerField()
|
||||||
time_from = models.DateTimeField()
|
time_from = models.DateTimeField()
|
||||||
|
Loading…
Reference in New Issue
Block a user