Added AmiiboShop.shop_name
This commit is contained in:
parent
ccf4750680
commit
987d111a2b
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('amiibo', '0028_auto_20150910_0021'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='amiiboshop',
|
||||
name='shop_name',
|
||||
field=models.CharField(max_length=255, null=True, blank=True),
|
||||
),
|
||||
]
|
|
@ -243,6 +243,7 @@ class AmiiboShop(models.Model):
|
|||
url = models.TextField()
|
||||
item_id = models.CharField(max_length=64)
|
||||
check_price = models.BooleanField(default=True)
|
||||
shop_name = models.CharField(max_length=255, blank=True, null=True)
|
||||
image = models.ImageField(upload_to=shop_item_upload,
|
||||
null=True, blank=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue