<snip>
>
> I have created a set of functions and classes to connect to the db and
> request the data and then display the data rendered as a page, however
> what I'm finding is that when the data is being changed from the main
> set of applications connecting to and using this db and then i refresh
> my browser django is still displaying old data in some cases, now I've
> looked through all the cacheing documentation and as far as I can find
> I've disabled all cacheing and I know it's not the browsers' cacheing
> because when I telnet and request the pages it's comeing back as the
> old data not the new data, and if I run the python code outside of
> django just to output the data I'm passing into the templates it's
> updating timely
>
> in my views.py for the particular pages in question I have
>
> from django.views.decorators.cache import never_cache
>
> @never_cache
> def index(request):
>
> before every function for rendering data
>
<snip>
>
> As far as I can tell there is no reason for this data to be outdated
> on browser refresh, I've tried looking through the documentation and
> other places to find what could be causing this

You didn't include a code snippet of how you actually retrieve data in
your views. Perhaps include the snippet for your index view for
example so people can see if anything there might be causing this
problem.

-Rajesh D

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to