From 39cf99e33581f23e25f3bd29fc263b4ca4c42adb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 3 Apr 2018 11:35:50 +0200 Subject: Types: charfield to textfield for name and slug --- .../migrations/0012_auto_20180403_1120.py | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 archaeological_files/migrations/0012_auto_20180403_1120.py (limited to 'archaeological_files/migrations') diff --git a/archaeological_files/migrations/0012_auto_20180403_1120.py b/archaeological_files/migrations/0012_auto_20180403_1120.py new file mode 100644 index 000000000..629b8754d --- /dev/null +++ b/archaeological_files/migrations/0012_auto_20180403_1120.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.10 on 2018-04-03 11:20 +from __future__ import unicode_literals + +import django.core.validators +from django.db import migrations, models +import re + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_files', '0011_auto_20171026_1827'), + ] + + operations = [ + migrations.AlterField( + model_name='filetype', + name='label', + field=models.TextField(verbose_name='Label'), + ), + migrations.AlterField( + model_name='filetype', + name='txt_idx', + field=models.TextField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', 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='permittype', + name='label', + field=models.TextField(verbose_name='Label'), + ), + migrations.AlterField( + model_name='permittype', + name='txt_idx', + field=models.TextField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', 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='saisinetype', + name='label', + field=models.TextField(verbose_name='Label'), + ), + migrations.AlterField( + model_name='saisinetype', + name='txt_idx', + field=models.TextField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', 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