Fix PostgreSQL backend exception for empty IPv4
Fix exception is thrown in logic/backend.py:process_net_status() if the NIC configuration notification contains an empty IPv4 field, and Django uses the PostgreSQL backend. This only happens with the PostgreSQL backend, because it has a specific IPv4 data type and cannot accept the empty string as a valid value for such fields. Also add two unit tests for logic/backend.py:process_net_status().
Showing with 33 additions and 1 deletion