From 19491834b6faeb4df7e4798432713e90693d89cc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 26 Aug 2017 11:54:57 +0200 Subject: Django 1.11: new migrations for slugs --- .../migrations/0005_auto_20170826_1152.py | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 archaeological_warehouse/migrations/0005_auto_20170826_1152.py (limited to 'archaeological_warehouse/migrations') diff --git a/archaeological_warehouse/migrations/0005_auto_20170826_1152.py b/archaeological_warehouse/migrations/0005_auto_20170826_1152.py new file mode 100644 index 000000000..036345796 --- /dev/null +++ b/archaeological_warehouse/migrations/0005_auto_20170826_1152.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11 on 2017-08-26 11:52 +from __future__ import unicode_literals + +import django.core.validators +from django.db import migrations, models +import re + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_warehouse', '0004_auto_20170804_2024'), + ] + + operations = [ + migrations.AlterField( + model_name='containertype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='warehousedivision', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='warehousetype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + ] -- cgit v1.2.3