> That's correct. The "default" keyword is only used by Python, not on
> the SQL layer.
> 
> That said, I don't see any reason not to add it in the CREATE TABLE
> statements where appropriate. Any thoughts?
> 

I think it a very good idea, the only problem I forsee is that right
now it is easily changeable when it is merely in the code, but now you
need to change it in the db as well.  Although as long as django
doesn't rely on the db to supply the default, it would still be fine
if you only changed your model.

Reply via email to