wcs: card cell, card_id increase max_length (#58412)
This commit is contained in:
parent
1673d2def7
commit
df25b3a828
|
@ -0,0 +1,16 @@
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('wcs', '0040_cards_limit'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='wcscardinfoscell',
|
||||||
|
name='card_id',
|
||||||
|
field=models.CharField(blank=True, max_length=1000, verbose_name='Card Identifier'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -898,7 +898,7 @@ class WcsCardsCell(CardMixin, WcsBlurpMixin, CellBase):
|
||||||
@register_cell_class
|
@register_cell_class
|
||||||
class WcsCardInfosCell(CardMixin, CellBase):
|
class WcsCardInfosCell(CardMixin, CellBase):
|
||||||
carddef_reference = models.CharField(_('Card Model'), max_length=150)
|
carddef_reference = models.CharField(_('Card Model'), max_length=150)
|
||||||
card_id = models.CharField(_('Card Identifier'), max_length=150, blank=True)
|
card_id = models.CharField(_('Card Identifier'), max_length=1000, blank=True)
|
||||||
without_user = models.BooleanField(_('Ignore the logged-in user'), default=False)
|
without_user = models.BooleanField(_('Ignore the logged-in user'), default=False)
|
||||||
custom_schema = JSONField(blank=True, default=dict)
|
custom_schema = JSONField(blank=True, default=dict)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue