Re: Caching in Django admin

2006-07-20 Thread Axel Steiner
Hi, > 1) Am I right in thinking that decorators were only introduced in Python 2.4? yes, decorators were introduced in Python 2.4. But you don't have to use them. A non decorator syntax would be: myview = cache_page(myview, 900) > 2) This would mean overriding the admin views for every appli

Re: Caching in Django admin

2006-07-20 Thread Axel Steiner
Hi, > It looks like the right way to deal with this is to implement per page > caching, but that doesn't look too simple to me. I hope that someone > will prove me wrong by posting some simple instructions for implemeting > per page caching. Alternatively please post a mechanism for disabling > g

remote_ident

2006-05-30 Thread Axel Steiner
Hi, I'm a little bit confused about request.META['remote_ident']... Apache2 is configured for ident ("IdentityCheck on" in httpd.conf), so I get the correct value with a simple test CGI script. But with Django, the value of request.META['remote_ident'] is set irregular. So one time I get the va

Re: Question about cache

2006-05-16 Thread Axel Steiner
Hi, > Yes. Have a look at this post from Adrian: > http://groups.google.com/group/django-users/browse_frm/thread/500d8cebe1f0c4e1/751e204668a0fdca?q=caching+questions&rnum=1#751e204668a0fdca > > He describes how URLs are stored in the cache and how to invalidate > them. The original poster in th

Question about cache

2006-05-15 Thread Axel Steiner
Hi all, I've set up the cache system of Django and it works fine, except one thing. Is it possible to reload or clean the cache, when there is a new record in the database? Thanks, Axel --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: create_update and manipulator

2006-03-14 Thread Axel Steiner
Hi, > No, that's not currently possible. I'd recommend just writing your own > view -- it shouldn't take much code. I already thought this. Is it possible to provide this in a new version of Django? :-) Bye, Axel --~--~-~--~~~---~--~~ You received this message

create_update and manipulator

2006-03-13 Thread Axel Steiner
Hi, I'm trying to build a form with django.views.generic.create_update.create_object and I can't find a way to use a custom manipulator with it. Is it possible to pass a generic view a manipulator? Thanks, Axel --~--~-~--~~~---~--~~ You received this message