Refine tests for bills, multiple bills
This commit is contained in:
parent
70c450afc8
commit
ef02cb61fd
5 changed files with 177 additions and 48 deletions
19
uncloud_pay/migrations/0011_bill_billing_address.py
Normal file
19
uncloud_pay/migrations/0011_bill_billing_address.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.1 on 2020-08-09 10:24
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0010_auto_20200809_0856'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='bill',
|
||||
name='billing_address',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.billingaddress'),
|
||||
),
|
||||
]
|
||||
19
uncloud_pay/migrations/0012_auto_20200809_1026.py
Normal file
19
uncloud_pay/migrations/0012_auto_20200809_1026.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.1 on 2020-08-09 10:26
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0011_bill_billing_address'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='bill',
|
||||
name='billing_address',
|
||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.billingaddress'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue