mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-09 11:26:27 +00:00
c4a104b3b6
Just ran black on the whoe repository. Fix #210.
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.7 on 2018-03-26 15:42
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("topologie", "0053_finalsw")]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name="accesspoint",
|
|
options={"permissions": (("view_ap", "Peut voir une borne"),)},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name="switch",
|
|
options={"permissions": (("view_switch", "Peut voir un objet switch"),)},
|
|
),
|
|
migrations.AlterField(
|
|
model_name="port",
|
|
name="switch",
|
|
field=models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="ports",
|
|
to="topologie.Switch",
|
|
),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name="port", unique_together=set([("switch", "port")])
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name="switch", unique_together=set([("stack", "stack_member_id")])
|
|
),
|
|
]
|