# Generated by Django 4.0.5 on 2022-07-31 22:37

from django.db import migrations, models
import filebrowser.fields


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0010_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='UpperButton',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ordering', models.IntegerField(default=0, verbose_name='Kolejność')),
                ('title', models.CharField(max_length=50, verbose_name='Tytuł przycisku')),
                ('photo', filebrowser.fields.FileBrowseField(blank=True, max_length=200, verbose_name='Ikona')),
                ('href', models.CharField(max_length=50, verbose_name='Link')),
                ('blank', models.BooleanField(verbose_name='Otwórz w nowej karcie')),
            ],
            options={
                'verbose_name': 'Przycisk górny (łabs, atu, itd...)',
                'verbose_name_plural': 'Przyciski górne (łabs, atu, itd...)',
                'ordering': ['ordering'],
                'abstract': False,
            },
        ),
        migrations.AlterModelOptions(
            name='button',
            options={'ordering': ['ordering'], 'verbose_name': 'Przycisk nawigacji (zielony)', 'verbose_name_plural': 'Przyciski nawigacji (zielone)'},
        ),
    ]
