Re: Opinions on #15012 -- cache_page and TemplateResponse incompatibilities

2011-01-09 Thread Ivan Sagalaev
Hi Russell, I seem to missed this email until lately… Here's my take on it if it still matters. On 01/05/2011 08:29 AM, Russell Keith-Magee wrote: 4) Modify cache_page to force a render of the response. This defeats the purpose of introducing TemplateResponse, and would mean that template r

Re: Ticket #14176

2011-01-09 Thread Chris Haines
Thanks Russ. I believe that I found the issue and I posted about it on ticket. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send e

Re: User_logged_in signal

2011-01-09 Thread Rob Hudson
I opened bug: http://code.djangoproject.com/ticket/15043 I actually stumbled on this just a few days ago while trying to put a session_key to user ID mapping into Redis upon login and was stumped for awhile why it didn't match the session key of my logged in user. -Rob On Sun, Jan 9, 2011 at 10:

Re: Ticket #14176

2011-01-09 Thread Russell Keith-Magee
On Mon, Jan 10, 2011 at 11:25 AM, Chris Haines wrote: > Hi Everyone, > I would like to start contributing patches to django and I had a question > about how to handle ticket #14176.  The gist of it is that the > settings.feeds dictionary changed from using a class object for values to > using an i

Ticket #14176

2011-01-09 Thread Chris Haines
Hi Everyone, I would like to start contributing patches to django and I had a question about how to handle ticket #14176. The gist of it is that the settings.feeds dictionary changed from using a class object for values to using an instance object. I can fix this bug but should the old format

Re: Suggested Modification To HttpResponse (and therefore render_to_response)

2011-01-09 Thread Shawn Milochik
This probably should have been brought up in django-users first, asking if it's possible. See safestring.mark_safe(): http://docs.djangoproject.com/en/dev/ref/utils/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group,

Suggested Modification To HttpResponse (and therefore render_to_response)

2011-01-09 Thread jammydodger
hi im "learned in python ways" but very new to django but i thought i might start a discussion (or get shot down) about the (im guessing) filtering in HttpResponse. im assuming it is for our benefit, maybe to prevent code injection, but has anyone else found it frustrating that you cant tag eg in

User_logged_in signal

2011-01-09 Thread Sayane
Take a look at this: http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/__init__.py#L73 Is there any reason, why this signal is sent before flushing session? It makes request.session useless for all receivers. -- You received this message because you are subscribed to the Goo