8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-30 08:32:26 +00:00
re2o/machines/migrations/0091_auto_20180806_2310.py
Hugo Levy-Falk c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00

36 lines
1.1 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-08-06 21:10
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("machines", "0090_auto_20180805_1459")]
operations = [
migrations.AddField(
model_name="iptype",
name="domaine_ip_netmask",
field=models.IntegerField(
default=24,
help_text="Netmask for the ipv4 range domain",
validators=[
django.core.validators.MaxValueValidator(31),
django.core.validators.MinValueValidator(8),
],
),
),
migrations.AddField(
model_name="iptype",
name="domaine_ip_network",
field=models.GenericIPAddressField(
blank=True,
help_text="Network containing the ipv4 range domain ip start/stop. Optional",
null=True,
protocol="IPv4",
),
),
]