3👍
✅
You can send ajax request (do it in your custom js file) to same url == window.location.href (for example every 10 seconds)
class OrderAdmin(admin.ModelAdmin):
class Meta:
model = Order
class Media:
js = ("my_code.js",)
Useful links:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-asset-definitions
Source:stackexchange.com