Hey all,
I just stumbled into an annoying behavior of Django that I don't know how to handle.
I discovered that when you edit a model in the Django admin, and one of its text field's value is `None`, it'll be saved as the empty string u'' instead of `None`.
This makes sense from the HTML implementation point-of-view, because the form is a text field, and if it has nothing in it, that usually means u''. But it's really annoying from the Django point-of-view, because now I have some objects with a value of u'' and some with `None`! This is causing bugs in some of my queries.
Any idea what to do about this?
Thanks,
Ram.