change ipaddress field type to GenericIPAddressField
for compatibility with PostgreSQL