mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Enlarge field size of Item.picture
This commit is contained in:
30
src/pretix/base/migrations/0088_auto_20180328_1217.py
Normal file
30
src/pretix/base/migrations/0088_auto_20180328_1217.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.11 on 2018-03-28 12:17
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import pretix.base.models.items
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pretixbase', '0087_auto_20180317_1952'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='staffsession',
|
||||
options={'ordering': ('date_start',)},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='staffsessionauditlog',
|
||||
options={'ordering': ('datetime',)},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='item',
|
||||
name='picture',
|
||||
field=models.ImageField(blank=True, max_length=255, null=True, upload_to=pretix.base.models.items.itempicture_upload_to, verbose_name='Product picture'),
|
||||
),
|
||||
]
|
||||
@@ -248,7 +248,7 @@ class Item(LoggedModel):
|
||||
)
|
||||
picture = models.ImageField(
|
||||
verbose_name=_("Product picture"),
|
||||
null=True, blank=True,
|
||||
null=True, blank=True, max_length=255,
|
||||
upload_to=itempicture_upload_to
|
||||
)
|
||||
available_from = models.DateTimeField(
|
||||
|
||||
Reference in New Issue
Block a user