#2547: "blank=True" and "default" don't work correctly when create_object page
doesn't submit field
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Database wrapper | Version: SVN
Severity: normal | Keywords:
------------------------------+---------------------------------------------
In both the stable 0.95 and svn version, an IntegerField (and most likely
everything else) will not use the "default" value when "blank=True", if
the input field is not included on the generic view create_object page.
Instead, it'll try and pass it directly to the database as null, which
will cause an error, as null is not valid.
Instead, the default value should be used, and there should be no errors.
--
Ticket URL: <http://code.djangoproject.com/ticket/2547>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---