From: Tony Mack Date: Fri, 26 Jan 2007 18:56:24 +0000 (+0000) Subject: - added 'enabled' to Site.fields X-Git-Tag: pycurl-7_13_1~57 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e43eb135483c45435c9d4a50d6dff744fb7aef85;p=plcapi.git - added 'enabled' to Site.fields --- diff --git a/PLC/Sites.py b/PLC/Sites.py index 479c0fbd..c0dd1701 100644 --- a/PLC/Sites.py +++ b/PLC/Sites.py @@ -28,7 +28,8 @@ class Site(Row): 'abbreviated_name': Parameter(str, "Abbreviated site name", max = 50), 'login_base': Parameter(str, "Site slice prefix", max = 20), 'is_public': Parameter(bool, "Publicly viewable site"), - 'latitude': Parameter(float, "Decimal latitude of the site", min = -90.0, max = 90.0, nullok = True), + 'enabled': Parameter(bool, "Has been enabled"), + 'latitude': Parameter(float, "Decimal latitude of the site", min = -90.0, max = 90.0, nullok = True), 'longitude': Parameter(float, "Decimal longitude of the site", min = -180.0, max = 180.0, nullok = True), 'url': Parameter(str, "URL of a page that describes the site", max = 254, nullok = True), 'date_created': Parameter(int, "Date and time when site entry was created, in seconds since UNIX epoch", ro = True),