mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-04 17:06:27 +00:00
typo
This commit is contained in:
parent
2e3be7ad56
commit
af714a7f33
2 changed files with 27 additions and 7 deletions
20
topologie/migrations/0068_auto_20190102_1758.py
Normal file
20
topologie/migrations/0068_auto_20190102_1758.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- 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,
|
default=False,
|
||||||
help_text='Provision automatique de ce switch',
|
help_text='Provision automatique de ce switch',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ('stack', 'stack_member_id')
|
unique_together = ('stack', 'stack_member_id')
|
||||||
|
@ -404,11 +404,11 @@ class ModelSwitch(AclMixin, RevMixin, models.Model):
|
||||||
is_modular = models.BooleanField(
|
is_modular = models.BooleanField(
|
||||||
default=False,
|
default=False,
|
||||||
help_text=_("Is this switch model modular"),
|
help_text=_("Is this switch model modular"),
|
||||||
)
|
)
|
||||||
is_itself_module = models.BooleanField(
|
is_itself_module = models.BooleanField(
|
||||||
default=False,
|
default=False,
|
||||||
help_text=_("Does the switch, itself, considered as a module"),
|
help_text=_("Is the switch, itself, considered as a module"),
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
permissions = (
|
permissions = (
|
||||||
|
@ -429,14 +429,14 @@ class ModuleSwitch(AclMixin, RevMixin, models.Model):
|
||||||
reference = models.CharField(
|
reference = models.CharField(
|
||||||
max_length=255,
|
max_length=255,
|
||||||
help_text=_("Reference of a module"),
|
help_text=_("Reference of a module"),
|
||||||
verbose_name=_("Module reference")
|
verbose_name=_("Module reference")
|
||||||
)
|
)
|
||||||
comment = models.CharField(
|
comment = models.CharField(
|
||||||
max_length=255,
|
max_length=255,
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
help_text=_("Comment"),
|
help_text=_("Comment"),
|
||||||
verbose_name=_("Comment")
|
verbose_name=_("Comment")
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
@ -457,7 +457,7 @@ class ModuleOnSwitch(AclMixin, RevMixin, models.Model):
|
||||||
slot = models.CharField(
|
slot = models.CharField(
|
||||||
max_length=15,
|
max_length=15,
|
||||||
help_text=_("Slot on switch"),
|
help_text=_("Slot on switch"),
|
||||||
verbose_name=_("Slot")
|
verbose_name=_("Slot")
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in a new issue