#9590: CharField and TextField with blank=True, null=True saves u'' instead of
null
---------------------------------+------------------------------------------
Reporter: romke | Owner: nobody
Status: closed | Milestone:
Component: Forms | Version: 1.0
Resolution: wontfix | Keywords: charfield, textfield, null
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => wontfix
Comment:
This is by design and fully documented. If you want to save NULLs in a
text-based field, you'll need to create your own Field subclass. Changing
the existing Django behaviour would be backwards-incompatible.
--
Ticket URL: <http://code.djangoproject.com/ticket/9590#comment:2>
Django <http://code.djangoproject.com/>
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?hl=en
-~----------~----~----~----~------~----~------~--~---