Wednesday, April 29, 2015

Re: Django runserver needs restart on psql data changes

On Wed, Apr 29, 2015 at 12:35 PM, Arnab Banerji <> 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


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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment