#4136: NULL fields and Unique keys
------------------------------------------------+---------------------------
Reporter: David Cramer <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component:
Database wrapper
Version: 0.96 | Resolution:
Keywords: | Stage:
Accepted
Has_patch: 0 | Needs_docs: 1
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------------------+---------------------------
Changes (by mtredinnick):
* needs_docs: 0 => 1
* stage: Unreviewed => Accepted
Comment:
We are not going to interpret empty strings as NULL. They are not the same
thing, in general.
I think this is something that needs to be taken care of in the model's
save() method or as the data is cleaned (converted from form to Python
objects). Not closing yet, because we can probably come up with some
documentation and best practices here, but we aren't going to start
automatically storing NULLs.
--
Ticket URL: <http://code.djangoproject.com/ticket/4136#comment:5>
Django Code <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
-~----------~----~----~----~------~----~------~--~---