2018-08-11 01:58:03 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2018-08-10 19:04
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
import users.models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2019-11-04 16:55:03 +00:00
|
|
|
dependencies = [("users", "0073_auto_20180629_1614")]
|
2018-08-11 01:58:03 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2019-11-04 16:55:03 +00:00
|
|
|
model_name="adherent",
|
|
|
|
name="gpg_fingerprint",
|
|
|
|
field=models.CharField(
|
|
|
|
blank=True,
|
|
|
|
max_length=40,
|
|
|
|
null=True,
|
|
|
|
validators=[
|
|
|
|
django.core.validators.RegexValidator(
|
|
|
|
"^[0-9A-F]{40}$",
|
|
|
|
message="Une fingerprint GPG doit contenir 40 caractères hexadécimaux",
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)
|
2018-08-11 01:58:03 +00:00
|
|
|
]
|