Re: Trouble with default values in model w/ sqlite

2006-06-23 Thread Jamie Scheinblum
Following up on my own question to help future googlers of this problem.  It turns out there is a bug open on this already, http://code.djangoproject.com/ticket/1207 .  The problem is that the do_html2python method replaces all the empty values with None, effectively blowing away any chance of the

Trouble with default values in model w/ sqlite

2006-06-21 Thread Jamie Scheinblum
Hi,I'm having trouble with default values in my model.  I've tried to establish what the default for a column should be when the input doesn't supply a value.  The model defaults seem to work fine when using django's python shell, but when I use either the admin interface or my own view, the