i don't know if the cache work for views with the content dependent from
user...
example.
@login_required
def webapp(request):
grupos = Grupo.objects.filter(usuarios = request.user).order_by('grupo')
return
render_to_response('accounting/webapp.html',{'grupos':grupos},RequestContext(request))
if i turn on the cache for view @cache_page(60*10)
the user see your groups? or see the groups for the firts user to generete
the cache? and if this case? what can i do?
all my views dependent from request.user =S
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/OusOKXBfNoAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.