|Issue 71:||Evolve --hint does not respect db_field|
|3 people starred this issue and may be notified of changes.||Back to list|
I had field like this: src_url = models.CharField(max_length=200) and I've changed it to: _src_url = models.CharField(max_length=200, db_column='src_url') After that ./manage.py evolve --hint proposes me some evolutions to do (to add and delete field), though it shouldn't do that.
Aug 8, 2008
This patch partially fixes trouble: evolution does not generate sql, but ChangeField is still there. After execution all works fine. I'm wondering how to improve this patch - maybe 'db_column' by default should be equal to column name and not to None?
|► Sign in to add a comment|