Skip to content

Commit

Permalink
Add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
KwikKill committed Nov 21, 2024
1 parent 25f161b commit 5355600
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions insalan/tournament/migrations/0011_event_poster.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 4.1.12 on 2024-11-21 22:01

import django.core.validators
from django.db import migrations
import insalan.components.image_field


class Migration(migrations.Migration):

dependencies = [
('tournament', '0010_seat_alter_caster_image_alter_event_logo_and_more'),
]

operations = [
migrations.AddField(
model_name='event',
name='poster',
field=insalan.components.image_field.ImageField(blank=True, null=True, upload_to='event-posters', validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['png', 'jpg', 'jpeg', 'svg', 'webp', 'avif'])], verbose_name='Affiche'),
),
]

0 comments on commit 5355600

Please sign in to comment.