Re: Automatically applying migrations to a Django application's schema

2007-04-22 Thread John Calixto
MikeH wrote: > Hi all, > > I'm currently preparing my team to use Django as our primary framework > and as part of this we need a way to keep our databases in sync. > >>From the Django FAQ: >> you'll have to execute the ALTER TABLE statements manually in your database. >> That's the way we've al

Re: why manage.py sets sys.path to both . and ..

2007-03-13 Thread John Calixto
Hi Ilya, I'll just speak about how I organize my django work. This diagram might help you: http://www.calixto.net/john/djangoproj_layout.txt It probably doesn't address your #1 (naming the app the same as the project). However, I think having an app called "site" would scale well should you d

Re: Enhancing MergeDict

2007-02-15 Thread John Calixto
Thanks Michael. I created a ticket (#3508) and submitted a patch. Based on the triage policy, it seems "ready for checkin"... but it doesn't seem kosher for me to decide that on my own :) -jc On 2/14/2007, "Michael Radziej" <[EMAIL PROTECTED]> wrote: >

Enhancing MergeDict

2007-02-13 Thread John Calixto
Hi All, I have an almost trivial (although it was helpful to me) enhancement for django.utils.datastructures.MergeDict. It basically adds __str__ and __repr__ methods so that you can see more meaningful output than just the standard "" string. Here's my diff: === django/utils/datastructures.py