# Generated by Django 3.1.3 on 2021-01-21 19:59

import django.core.validators
from django.db import migrations, models
import django_countries.fields


class Migration(migrations.Migration):

    dependencies = [
        ('library', '0009_auto_20210121_2052'),
    ]

    operations = [
        migrations.AlterField(
            model_name='order',
            name='city',
            field=models.CharField(max_length=100, validators=[django.core.validators.RegexValidator(message='Zły format miejscowości: tylko litery', regex='[a-zA-ZŻŹĆĄŚĘŃŁÓżźćąśęńłó]')], verbose_name='Miejscowość'),
        ),
        migrations.AlterField(
            model_name='order',
            name='country',
            field=django_countries.fields.CountryField(default='Polska', max_length=2, verbose_name='Kraj'),
        ),
        migrations.AlterField(
            model_name='order',
            name='street_name',
            field=models.CharField(max_length=100, validators=[django.core.validators.RegexValidator(message='Zły format nazwy ulicy: tylko litery', regex='[a-zA-ZŻŹĆĄŚĘŃŁÓżźćąśęńłó]')], verbose_name='Nazwa ulicy'),
        ),
    ]
