# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import re
import django.core.validators


class Migration(migrations.Migration):

    dependencies = [
        ('wmsmanager', '0002_auto_20151125_1310'),
    ]

    operations = [
        migrations.AlterField(
            model_name='wmslayer',
            name='kmi_name',
            field=models.SlugField(blank=True, max_length=128, null=True, validators=[django.core.validators.RegexValidator(re.compile(b'^[a-z0-9_]+$'), b'Slug can only contain lowercase letters, numbers and underscores', b'invalid')]),
            preserve_default=True,
        ),
        migrations.AlterField(
            model_name='wmslayer',
            name='name',
            field=models.CharField(help_text=b'The name of wms layer', max_length=128),
            preserve_default=True,
        ),
    ]
