django.db.models.Options contribute_to_class uses default connection instead of using DATABASE_ROUTERS

2010-05-10 Thread Peter Long
Hi Django developers, I have been using the development copy of django from the svn trunk. I think I may have found an area that needs updating now that django supports multiple databases. I am not very familiar with the django backend architecture so I am not sure if its a real bug or not and if

Class based generic views in 1.3?

2010-05-10 Thread Jari Pennanen
I've been trying to figure out the state of class based generic views without success. (Though syndication views seems to be class based now at least.) If I figured out correctly the class based generic views does not land on 1.2, so I was wondering are they planned to 1.3? Those are rather import

Re: django.db.models.Options contribute_to_class uses default connection instead of using DATABASE_ROUTERS

2010-05-10 Thread Russell Keith-Magee
On Tue, May 11, 2010 at 2:21 AM, Peter Long wrote: > Hi Django developers, > > I have been using the development copy of django from the svn trunk. I > think I may have found an area that needs updating now that django > supports multiple databases. I am not very familiar with the django > backend

Re: Class based generic views in 1.3?

2010-05-10 Thread Russell Keith-Magee
On Tue, May 11, 2010 at 5:39 AM, Jari Pennanen wrote: > I've been trying to figure out the state of class based generic views > without success. (Though syndication views seems to be class based now > at least.) > > If I figured out correctly the class based generic views does not land > on 1.2, s

Re: Template Tag Not Reinitialized in Loop

2010-05-10 Thread patrick91
I've this problem too I created a custom template tag that renders info about a model but when I use that tag in a for the tag is used just one time. Like this {% for page in pages %} {% show_info page %} {% endfor %} --- page info #1 page info #1 page info #1 should I provide my custom t

Re: Ticket 13023: Admin inlines, max_num, and extra

2010-05-10 Thread Rolando Espinoza La Fuente
There is a small issue related to max_num and js-hide functionality. I've just opened a new ticket http://code.djangoproject.com/ticket/13521 tl;dr: if ((maxForms.val() != '') && (maxForms.val() <= totalForms.val())) { val() function returns a string, resulting "10" <= "2" which is True in java