Re: multiple-db-support branch

2007-03-03 Thread Marc Boeren
Done, it's http://code.djangoproject.com/ticket/3644 A patch is included. Ciao, Marc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develope

multi-db schema-evolution

2007-03-02 Thread Marc Boeren
Hi, I'm using the multi-db branch to do schema-evolution. I'm bringing this up to see if it is worth pursuing or if there is some better idea somewhere... The basic idea is, have a v1 and a v2 database, with the v1 models in the first and the v2 models in the latter, and create a v1_to_v2 evolut

Re: multiple-db-support branch

2007-03-02 Thread Marc Boeren
I just installed the multi-db branch yesterday and I think it is something that surely must be supported, and I'll play more with it the coming time. I have a simple schema-evolution idea that does not alter existing tables, but simply copies data to new tables in another database. Don't know if

Re: order of models per app in admin interface

2007-01-22 Thread Marc Boeren
Overriding admin/index.html would make it less generic :-) Instead, I've changed the adminapplist.py templatetag which is used in index.html. It's a very simple patch, really. ..Mc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

order of models per app in admin interface

2007-01-22 Thread Marc Boeren
Hi, I've looked in the django code to see if I could get my models ordered explicitly in the admin interface, but could only find code that sorts it alphabetically on name (verbose_name_plural). I hacked up a quick patch that allows you to set an 'order_in_app_models' attribute to the Admin clas

Re: multi-select admin filter for RelatedFields

2006-05-15 Thread Marc Boeren
Done, #1873, http://code.djangoproject.com/ticket/1873 Ciao, Marc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com

Re: multi-select admin filter for RelatedFields

2006-05-14 Thread Marc Boeren
Update: the known bug is solved, the complete patch is now: http://www.million.nl/file/marc/django/multi-select-relatedfilterspec.2.diff This also solves the recordcount mismatch in the results view. On a side note: if you have trouble with hidden Exceptions (as I had in this case), it really he

Re: multi-select admin filter for RelatedFields

2006-05-14 Thread Marc Boeren
A preliminary patch can be found at http://www.million.nl/file/marc/django/multi-select-relatedfilterspec.diff Screenshots for and/or will make it clear what this patch does :-) http://www.million.nl/file/marc/django/multi-select-relatedfilterspec-and.gif http://www.million.nl/file/marc/django/mu

multi-select admin filter for RelatedFields

2006-05-10 Thread Marc Boeren
Hi, I've hacked my way into the admin filters, changing the RelatedFilterSpec from a single-select filter to a multi-select filter. I can now filter on multiple values from the same ManyToMany or ForeignKey relationship, i.e. if I add 'groups' to the list_filter for Users, I can select all users