Re: NB: New leader in group posting

2010-05-11 Thread Russell Keith-Magee
On Wed, May 12, 2010 at 8:18 AM, Jeremy Dunck wrote: > After years of Malcolm's legend response rate leading the chart, I'm > pleased to point out that there's a new name in all-time most-posted > to django-developers: > http://groups.google.com/group/django-developers/about

NB: New leader in group posting

2010-05-11 Thread Jeremy Dunck
After years of Malcolm's legend response rate leading the chart, I'm pleased to point out that there's a new name in all-time most-posted to django-developers: http://groups.google.com/group/django-developers/about (It is my hope that this sly ploy brings Malcolm back to activity.) -- You

Re: Class based generic views in 1.3?

2010-05-11 Thread Russell Keith-Magee
On Wed, May 12, 2010 at 1:35 AM, Jari Pennanen wrote: > > On 11 touko, 03:37, Russell Keith-Magee > wrote: >> show us the code!. >> >> [1] >> http://github.com/jacobian/django/tree/class-based-generic-views/django/views/generic2 > > Yes, well. I

Re: Class based generic views in 1.3?

2010-05-11 Thread Jari Pennanen
On 11 touko, 03:37, Russell Keith-Magee wrote: > show us the code!. > > [1] > http://github.com/jacobian/django/tree/class-based-generic-views/django/views/generic2 Yes, well. I have been in slight assumption that the above code is the one that will be merged. Though

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

2010-05-11 Thread Peter Long
> > The imported connection is never used in the method, > > Look closer - it is used, right at the end of contribute_to_class. The > connection is used to get the operations module for the backend, which > is then used to determine if the generated database table name needs > to be truncated.

Re: TestCase, urlresolvers.reverse and DB

2010-05-11 Thread Jacob Kaplan-Moss
On Tue, May 11, 2010 at 10:23 AM, Liviu Chiributa wrote: > I encountered a problem while writing some django tests on the svn > version. Whenever I call reverse(urlname), the db is emptied. > > Here is the code: I just tried out this exact same code, and it works fine for me

TestCase, urlresolvers.reverse and DB

2010-05-11 Thread Liviu Chiributa
Hello, I encountered a problem while writing some django tests on the svn version. Whenever I call reverse(urlname), the db is emptied. Here is the code: 1 from django.contrib.auth.models import User 2 from django.test import TestCase 3 from django.core.urlresolvers import reverse 4 5

Re: Template Tag Not Reinitialized in Loop

2010-05-11 Thread burc...@gmail.com
I bet context['page'] is different each time, but the tag initialization is called only once. So it's probably your programming error, not a bug in django. On Tue, May 11, 2010 at 1:29 AM, patrick91 wrote: > I've this problem too > > I created a custom template tag