On 4/22/07, aaloy <[EMAIL PROTECTED]> wrote:
>
> Hello All!
Hello,

>
> I have a view like
>
> def record(request, id, type):
>  # some database code here
>  # some log code here
> record=cache_page(record,60)
>
> If I have correctly understood the documentation, if I maque a request
> to that view with the same parameters the view shoud'nt hit the
> database neither get logs. Should it?
> At this moment it hits! So I don't understand what I'm doing wrong.

I am afraid that's not enough information, do you have correct
CACHE_BACKEND configured?

>
> Best regards,


next time please post questions about using django to django-users
list, this list is for discussing development of Django itself. You
will have better chances of someone replying...

>
> --
> Antoni Aloy L�pez
> Binissalem - Mallorca
> http://www.trespams.com
> Soci de Bulma - http://www.bulma.cat
>
> >
>


-- 
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to