Page not showing new model data

7 views
Skip to first unread message

gkleanthous.mob

unread,
May 18, 2017, 6:58:35 AM5/18/17
to Django users
Hi

I have a page which shows a list of records from a model. I have an “add new” link which opens a form. User fill the form and clicks save. Then an ajax call is done and the new record is saved to the database.

When i visit back the page with the list i do not see the new record, although it is saved in the database. I have to stop the server and restart it in order to see the new records.


Why is this happening?


Please advise.

Thanks

Reply all
Reply to author
Forward
0 new messages