Hi Javier - thanks for the response. Yes - I am storing the data in a dictionary - then having django_tables2 API render the dictionary as a table. How do I force a read of that variable for every browser refresh on the client side?
Thanks for your time, -AB On Wednesday, April 29, 2015 at 3:09:26 PM UTC-5, Javier Guerra wrote: > > On Wed, Apr 29, 2015 at 12:35 PM, Arnab Banerji <[email protected] > <javascript:>> wrote: > > The rendering happens perfectly, but the problem is - when the client > user > > does a browser refresh, the new data does not get reloaded until I > restart > > the runserver. Is there something I am doing wrong with respect to > getting > > the data from the database and into my view? > > > sounds like you're storing that data in a variable. you should either > read it from database on every request, or get some cache invalidation > techniques. > > -- > Javier > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3d2af574-e329-41ca-b2f2-1d1ba03f991e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

