2021年2月10日星期三

How to use django signals to refresh a specific page

I am creating an ecommerce webapp and I want to update my admin page when user place order. After research i found out about Django signals, but it seems pretty confusing. The idea behind this is that, when a user places an order I want the admin page to be refreshed and show the latest updates. I tried ajax but javascript can only work with the current open page. Can anyone help me with usibg django signals this way?

https://stackoverflow.com/questions/66148133/how-to-use-django-signals-to-refresh-a-specific-page February 11, 2021 at 10:56AM

没有评论:

发表评论