8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 08:23:12 +00:00
re2o/machines/migrations/0067_auto_20171116_0152.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

48 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-11-16 00:52
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [("machines", "0066_srv")]
operations = [
migrations.AlterField(
model_name="srv",
name="port",
field=models.PositiveIntegerField(
help_text="Port (tcp/udp)",
validators=[django.core.validators.MaxValueValidator(65535)],
),
),
migrations.AlterField(
model_name="srv",
name="priority",
field=models.PositiveIntegerField(
help_text="La priorité du serveur cible (valeur entière non négative, plus elle est faible, plus ce serveur sera utilisé s'il est disponible)",
validators=[django.core.validators.MaxValueValidator(65535)],
),
),
migrations.AlterField(
model_name="srv",
name="target",
field=models.ForeignKey(
help_text="Serveur cible",
on_delete=django.db.models.deletion.PROTECT,
to="machines.Domain",
),
),
migrations.AlterField(
model_name="srv",
name="weight",
field=models.PositiveIntegerField(
help_text="Poids relatif pour les enregistrements de même priorité (valeur entière de 0 à 65535)",
validators=[django.core.validators.MaxValueValidator(65535)],
),
),
]