﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14321	IPAddressField inserted as empty string although null=True	rihad@…	nobody	"I have these fields in a model:
{{{
#!python
        ipaddr1 = models.IPAddressField()
        ipaddr2 = models.IPAddressField(blank=True, null=True)
}}}

When I ""wrap"" this model in a ModelForm, fill the form, and call
form.save(), empty ipaddr2 gets inserted as an empty string, causing database
errors for Postgres' inet type.

I believe Django shouldn't be disregarding null=true for an IPAddressField when dealing with Postgres."		closed	Database layer (models, ORM)	dev		duplicate			Unreviewed	0	0	0	0	0	0
