Add JSON support for product description
This commit is contained in:
parent
c6bacab35a
commit
c32499199a
10 changed files with 1589 additions and 653 deletions
20
uncloud_pay/migrations/0018_order_product.py
Normal file
20
uncloud_pay/migrations/0018_order_product.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Generated by Django 3.1 on 2020-09-28 19:08
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0017_order_config'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='product',
|
||||
field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.product'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue