2018-03-23 23:50:11 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2018-03-23 01:18
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2019-11-04 16:55:03 +00:00
|
|
|
("machines", "0076_auto_20180130_1623"),
|
|
|
|
("topologie", "0033_auto_20171231_1743"),
|
2018-03-23 23:50:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="Borne",
|
2018-03-23 23:50:11 +00:00
|
|
|
fields=[
|
2019-11-04 16:55:03 +00:00
|
|
|
(
|
|
|
|
"interface_ptr",
|
|
|
|
models.OneToOneField(
|
|
|
|
auto_created=True,
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
parent_link=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
to="machines.Interface",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"location",
|
|
|
|
models.CharField(
|
|
|
|
help_text="Détails sur la localisation de l'AP", max_length=255
|
|
|
|
),
|
|
|
|
),
|
2018-03-23 23:50:11 +00:00
|
|
|
],
|
2019-11-04 16:55:03 +00:00
|
|
|
options={"permissions": (("view_borne", "Peut voir une borne"),)},
|
|
|
|
bases=("machines.interface",),
|
|
|
|
)
|
2018-03-23 23:50:11 +00:00
|
|
|
]
|