mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
Merge branch 'fix_240' into 'dev'
Fix #240 See merge request re2o/re2o!500
This commit is contained in:
commit
4d456c1d67
2 changed files with 20 additions and 1 deletions
19
topologie/migrations/0074_auto_20200419_1640.py
Normal file
19
topologie/migrations/0074_auto_20200419_1640.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.28 on 2020-04-19 14:40
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('topologie', '0073_auto_20191120_0159'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='portprofile',
|
||||||
|
options={'permissions': (('view_portprofile', 'Can view a port profile object'),), 'verbose_name': 'port profile', 'verbose_name_plural': 'port profiles'},
|
||||||
|
),
|
||||||
|
]
|
|
@ -893,7 +893,7 @@ class PortProfile(AclMixin, RevMixin, models.Model):
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
permissions = (("view_port_profile", _("Can view a port profile object")),)
|
permissions = (("view_portprofile", _("Can view a port profile object")),)
|
||||||
verbose_name = _("port profile")
|
verbose_name = _("port profile")
|
||||||
verbose_name_plural = _("port profiles")
|
verbose_name_plural = _("port profiles")
|
||||||
unique_together = ["on_dormitory", "profil_default"]
|
unique_together = ["on_dormitory", "profil_default"]
|
||||||
|
|
Loading…
Reference in a new issue