123456789101112131415161718192021222324252627282930 |
- # Generated by Django 3.1.5 on 2021-01-14 12:51
- import desecapi.models
- import django.core.validators
- from django.db import migrations, models
- class Migration(migrations.Migration):
- dependencies = [
- ("desecapi", "0011_captcha_kind"),
- ]
- operations = [
- migrations.AlterField(
- model_name="rrset",
- name="subname",
- field=models.CharField(
- blank=True,
- max_length=178,
- validators=[
- desecapi.models.validate_lower,
- django.core.validators.RegexValidator(
- code="invalid_subname",
- message="Subname can only use (lowercase) a-z, 0-9, ., -, and _, may start with a '*.', or just be '*'. Components may not exceed 63 characters.",
- regex="^([*]|(([*][.])?([a-z0-9_-]{1,63}[.])*[a-z0-9_-]{1,63}))$",
- ),
- ],
- ),
- ),
- ]
|