X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FAddresses.py;h=1a6ab50c42287169fc9d9fca9b2fedbbae06434b;hb=bc48d5148c2d0b65f90e393184a213dc202ecc70;hp=667aa849097feb82640879e8fceca6fe55cfa273;hpb=fa27e14ec737f95511c6aed8102cef9e70f63d32;p=plcapi.git diff --git a/PLC/Addresses.py b/PLC/Addresses.py index 667aa84..1a6ab50 100644 --- a/PLC/Addresses.py +++ b/PLC/Addresses.py @@ -15,8 +15,8 @@ class Address(Row): fields = { 'address_id': Parameter(int, "Address identifier"), 'line1': Parameter(str, "Address line 1", max = 254), - 'line2': Parameter(str, "Address line 2", max = 254), - 'line3': Parameter(str, "Address line 3", max = 254), + 'line2': Parameter(str, "Address line 2", max = 254, nullok = True), + 'line3': Parameter(str, "Address line 3", max = 254, nullok = True), 'city': Parameter(str, "City", max = 254), 'state': Parameter(str, "State or province", max = 254), 'postalcode': Parameter(str, "Postal code", max = 64),