Add total_price to HostingBill model
This commit is contained in:
parent
2ff8b9e4a5
commit
673e8a0c79
4 changed files with 73 additions and 49 deletions
20
hosting/migrations/0031_hostingbill_total_price.py
Normal file
20
hosting/migrations/0031_hostingbill_total_price.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2017-05-06 12:30
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('hosting', '0030_hostingbill'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='hostingbill',
|
||||
name='total_price',
|
||||
field=models.FloatField(default=0.0),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue