Enhancement to edit_inline

2008-02-07 Thread MikeH
that the other admin templates use. The diff is below. Hope it's useful to someone, it's extremely useful for me! Cheers, MikeH Index: django/contrib/admin/templatetags/admin_modify.py === --- django/contrib/admin/templatetags

Bug in django.contrib.admin when updating fields based on foreign keys? (or am I doing something wrong)

2008-02-05 Thread MikeH
Hi all, I have a problem updating aggregate fields in one model when they use values from their foreign key relationships. This only occurs when I update the information using the admin application. I have the following models, and a little test case included in a comment to show what I expect

Automatically applying migrations to a Django application's schema

2007-04-21 Thread MikeH
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 always done it, because