Commit af714a7f authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK

typo

parent 2e3be7ad
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2019-01-02 23:58
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('topologie', '0067_auto_20181230_1819'),
]
operations = [
migrations.AlterField(
model_name='modelswitch',
name='is_itself_module',
field=models.BooleanField(default=False, help_text='Is the switch, itself, considered as a module'),
),
]
......@@ -251,7 +251,7 @@ class Switch(AclMixin, Machine):
default=False,
help_text='Provision automatique de ce switch',
)
class Meta:
unique_together = ('stack', 'stack_member_id')
......@@ -404,11 +404,11 @@ class ModelSwitch(AclMixin, RevMixin, models.Model):
is_modular = models.BooleanField(
default=False,
help_text=_("Is this switch model modular"),
)
)
is_itself_module = models.BooleanField(
default=False,
help_text=_("Does the switch, itself, considered as a module"),
)
help_text=_("Is the switch, itself, considered as a module"),
)
class Meta:
permissions = (
......@@ -429,14 +429,14 @@ class ModuleSwitch(AclMixin, RevMixin, models.Model):
reference = models.CharField(
max_length=255,
help_text=_("Reference of a module"),
verbose_name=_("Module reference")
verbose_name=_("Module reference")
)
comment = models.CharField(
max_length=255,
null=True,
blank=True,
help_text=_("Comment"),
verbose_name=_("Comment")
verbose_name=_("Comment")
)
class Meta:
......@@ -457,7 +457,7 @@ class ModuleOnSwitch(AclMixin, RevMixin, models.Model):
slot = models.CharField(
max_length=15,
help_text=_("Slot on switch"),
verbose_name=_("Slot")
verbose_name=_("Slot")
)
class Meta:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment