53 lines
2.0 KiB
Python
53 lines
2.0 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.10.5 on 2017-02-28 10:41
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import whoisdb.validators
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('whoisdb', '0003_auto_20170222_1812'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='contact',
|
||
|
name='type',
|
||
|
field=models.CharField(choices=[('person', 'person'), ('role', 'role')], default='person', max_length=10),
|
||
|
preserve_default=False,
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='asblock',
|
||
|
name='handle',
|
||
|
field=models.SlugField(max_length=32, unique=True, validators=[whoisdb.validators.HandleValidator()], verbose_name='handle'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='asnumber',
|
||
|
name='handle',
|
||
|
field=models.SlugField(max_length=32, unique=True, validators=[whoisdb.validators.HandleValidator()], verbose_name='handle'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='contact',
|
||
|
name='handle',
|
||
|
field=models.SlugField(max_length=32, unique=True, validators=[whoisdb.validators.HandleValidator()], verbose_name='handle'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='inetnum',
|
||
|
name='handle',
|
||
|
field=models.SlugField(max_length=32, unique=True, validators=[whoisdb.validators.HandleValidator()], verbose_name='handle'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='maintainer',
|
||
|
name='description',
|
||
|
field=models.CharField(blank=True, help_text='Short description what this maintainer is for', max_length=64),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='maintainer',
|
||
|
name='handle',
|
||
|
field=models.SlugField(help_text='Must end with -MNT, eg FOO3-MNT', max_length=32, unique=True, validators=[whoisdb.validators.HandleValidatorWithSuffix('MNT')], verbose_name='handle'),
|
||
|
),
|
||
|
]
|