From: Tony Mack Date: Tue, 25 Feb 2014 20:24:05 +0000 (-0500) Subject: increase max login_base length to 32 chars X-Git-Tag: plcapi-5.3-2~2 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=ef7eb588062b3b8481a18b3afed9a105e5381f2c increase max login_base length to 32 chars --- diff --git a/PLC/Sites.py b/PLC/Sites.py index cfb26ad..b0c7061 100644 --- a/PLC/Sites.py +++ b/PLC/Sites.py @@ -26,7 +26,7 @@ class Site(Row): 'site_id': Parameter(int, "Site identifier"), 'name': Parameter(str, "Full site name", max = 254), 'abbreviated_name': Parameter(str, "Abbreviated site name", max = 50), - 'login_base': Parameter(str, "Site slice prefix", max = 20), + 'login_base': Parameter(str, "Site slice prefix", max = 32), 'is_public': Parameter(bool, "Publicly viewable site"), 'enabled': Parameter(bool, "Has been enabled"), 'latitude': Parameter(float, "Decimal latitude of the site", min = -90.0, max = 90.0, nullok = True),