From 9b73ae0fde151e1a6e2887fc6e39d9f3f1e2ef82 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sat, 14 Nov 2015 18:30:35 +0100 Subject: [PATCH] Quelques attribits par defaut pour les bornes (sinon ldap aime pas) --- attributs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/attributs.py b/attributs.py index 1281d48..36b0518 100644 --- a/attributs.py +++ b/attributs.py @@ -1137,6 +1137,7 @@ class puissance(Attr): category = 'wifi' can_modify = [nounou] ldap_name = "puissance" + default = '60' @crans_attribute class canal(intAttr): @@ -1147,6 +1148,7 @@ class canal(intAttr): category = 'wifi' can_modify = [nounou] ldap_name = "canal" + default = "11" @crans_attribute class hotspot(boolAttr): @@ -1157,6 +1159,7 @@ class hotspot(boolAttr): category = 'wifi' can_modify = [nounou] ldap_name = "hotspot" + default = "FALSE" @crans_attribute class positionBorne(Attr):