27 lines
1.2 KiB
Python
27 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.17 on 2020-05-18 18:10
|
|
from __future__ import unicode_literals
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('profile', '0003_attributedefinition_searchable'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='attributedefinition',
|
|
name='kind',
|
|
field=models.CharField(choices=[('string', 'String'), ('boolean', 'Boolean'), ('date', 'Date'), ('title', 'Civility'), ('birthdate', 'Birthdate'), ('fr_postcode', 'French Postcode'), ('phone_number', 'Phone Number'), ('profile_image', 'Profile Image'), ('address_auto', 'Address (autocomplete)')], default='string', max_length=16, verbose_name='kind'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='attributedefinition',
|
|
name='name',
|
|
field=models.SlugField(error_messages={'unique': 'Field names must be unique.'}, unique=True, validators=[django.core.validators.RegexValidator('^[a-z][a-z0-9_]*\\Z', 'Enter valid variable name starting with a letter and consisting of letters, numbers, or underscores.')], verbose_name='name'),
|
|
),
|
|
]
|