Add JSON support for product description
This commit is contained in:
parent
c6bacab35a
commit
c32499199a
10 changed files with 1589 additions and 653 deletions
29
uncloud_pay/migrations/0020_auto_20200928_1915.py
Normal file
29
uncloud_pay/migrations/0020_auto_20200928_1915.py
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Generated by Django 3.1 on 2020-09-28 19:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_pay', '0019_remove_product_owner'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='product',
|
||||
name='status',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='description',
|
||||
field=models.CharField(default='', max_length=1024),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='product',
|
||||
name='name',
|
||||
field=models.CharField(default='', max_length=256),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue