mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Ns et pas Nx
This commit is contained in:
parent
59c9a9d098
commit
b6d22dc555
2 changed files with 20 additions and 1 deletions
19
machines/migrations/0071_auto_20171231_2100.py
Normal file
19
machines/migrations/0071_auto_20171231_2100.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.7 on 2017-12-31 20:00
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('machines', '0070_auto_20171231_1947'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='ns',
|
||||
options={'permissions': (('view_ns', 'Peut voir un objet ns'),)},
|
||||
),
|
||||
]
|
|
@ -898,7 +898,7 @@ class Ns(models.Model):
|
|||
|
||||
class Meta:
|
||||
permissions = (
|
||||
("view_nx", "Peut voir un objet nx"),
|
||||
("view_ns", "Peut voir un objet ns"),
|
||||
)
|
||||
|
||||
@cached_property
|
||||
|
|
Loading…
Reference in a new issue