Re: Why CharFields don't have default=None?

2009-11-15 Thread Russell Keith-Magee
On Mon, Nov 16, 2009 at 4:29 AM, Djoume wrote: > Dear Djangonauts, > > I have read the documentation and I think I understand why we don't > want to store empty strings as NULL in the database. > > I also understand that model validation is being worked on and it's > not what I'm trying to achieve

Improving (and testing!) bash completion

2009-11-15 Thread Eric Holscher
Hey all, I recently was looking for a way to add bash completion to a management command that I made. With changeset 11526[0] during the djangocon sprints, bash completion was moved from bash into Python. Now there is a super basic bash script that calls django-admin.py with the correct environmen

Why CharFields don't have default=None?

2009-11-15 Thread Djoume
Dear Djangonauts, I have read the documentation and I think I understand why we don't want to store empty strings as NULL in the database. I also understand that model validation is being worked on and it's not what I'm trying to achieve here. The question of why CharField default to empty strin