Re: "@cache_page" bug...

2007-06-22 Thread Malcolm Tredinnick
On Fri, 2007-06-22 at 15:42 -0700, SmileyChris wrote: > I should really reply here rather than in the ticket: > > In that ticket I kinda agree with anonymous (who I'm guessing was > jedie). That ticket has a patch two months old, and since it's not > that critical it could sit there for much long

Re: "@cache_page" bug...

2007-06-22 Thread SmileyChris
I should really reply here rather than in the ticket: In that ticket I kinda agree with anonymous (who I'm guessing was jedie). That ticket has a patch two months old, and since it's not that critical it could sit there for much longer. Well maybe not in this case, now it has got some attention.

newforms-admin: queryset as list_filter

2007-06-22 Thread Jeremy Dunck
I haven't been tracking the newforms-admin branch, so this may already be done, but I think it'd be a good idea to allow querysets (or Q's) to be used for list_filter. For example, I'd like to make it easy for an admin to see just the list of un-geocoded objects, which is where latitude == None (

"@cache_page" bug...

2007-06-22 Thread jedie
In the docu there ware two syntax for a "per-view cache": """ def my_cool_view(request): # cool processing slashdot_this = cache_page(slashdot_this, 60 * 15) """ or """ @cache_page(60 * 15) def my_cool_view(request): # cool processing """ see: http://www.djangoproject.com/documentation/ca

Re: GSoC Update: [Check Constraints] Finally Some Code and Screencasts

2007-06-22 Thread Thejaswi Puthraya
By the way, the project is at http://code.google.com/p/django-check-constraints --~--~-~--~~~---~--~~ 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@googl

GSoC Update: [Check Constraints] Finally Some Code and Screencasts

2007-06-22 Thread Thejaswi Puthraya
Hello Django Developers, A week after changing my approach, I have been able to make some progress. Also this week, I am posting screencasts to showcase my work. This week I tackled both Value based and Range Based constraints. The things left to do are : -> Implementing 'like' and 'between' che

Re: 'retrieve': the missing permission?

2007-06-22 Thread David Larlet
2007/6/20, David Larlet <[EMAIL PROTECTED]>: > 2007/6/20, Gábor Farkas <[EMAIL PROTECTED]>: > > > > David Larlet wrote: > > > 2007/6/18, David Larlet <[EMAIL PROTECTED]>: > > >> Hi, > > >> > > >> I've just tried to use the permission_required decorator for my views > > >> and I realise that there

Re: template rendering as iteration, instead of layered concatenation

2007-06-22 Thread Malcolm Tredinnick
On Fri, 2007-06-22 at 16:54 +1000, Malcolm Tredinnick wrote: [...] > Since this really isn't the problem I want to work on right now and > since it is causing some destabilisation and changes block a bit based > on somebody with commit access being ready to react, I'll back it out so > that you c

Re: template rendering as iteration, instead of layered concatenation

2007-06-22 Thread Malcolm Tredinnick
On Fri, 2007-06-22 at 00:16 -0700, Brian Harring wrote: > On Fri, Jun 22, 2007 at 04:54:27PM +1000, Malcolm Tredinnick wrote: > > > > On Thu, 2007-06-21 at 23:29 -0700, Brian Harring wrote: > > [...] > > > While it's not performance related, one additional argument against > > > iter_render via

Re: template rendering as iteration, instead of layered concatenation

2007-06-22 Thread Brian Harring
On Fri, Jun 22, 2007 at 04:54:27PM +1000, Malcolm Tredinnick wrote: > > On Thu, 2007-06-21 at 23:29 -0700, Brian Harring wrote: > [...] > > While it's not performance related, one additional argument against > > iter_render via James Bennett is that it makes third party code > > supplying their