django admin with websocket - django

I am new to django. I want my admin panel to automatically update itself whenever new model instances are created without refreshing the page. I found that this can be implemented using websocket(django channels), But I do not know how to do with the django admin. Any help/suggestions/directions are much appreciated!!

Related

How to add new pages existing django app through admin page?

I have an existing Django app. What is the best way to add new pages to it through the admin page, without actually coding every time. I want to add static pages, with URLs through the admin page.
Add new page with new URLs
Add through admin page, not through coding every time. One time code to handle this.
Is there a way out?

How to select and delete multiple objects on Wagtail admin UI?

What I wanted should be the so-called bulk-operations, i.e. on Django admin, for a Django model there could be many objects created, and we can select multiple of them and delete.
However, when I registered Django models in Wagtail, the Wagtail admin doesn't show anything similar to Django bulk operations.
And I searched for a while, looks like bulk operations are not supported in Wagtail admin?
Any other alternative we could use for Wagtail?
As of Wagtail 2.9, I don't think it's possible to bulk select pages, but you can do so with snippets.
You can submit a feature request regarding bulk selections in page lists on GitHub, but search first if such a request already exists before creating a new one.

push live updates to client through Django Channels & Websockets when database get updated

I am very new to django channels.I wan't to try out. using django channels, If I added one user through django admin portal then this will be update on live on page where i am displaying users list. Using django post-save is this possible Please help me on this. I have tried one week on this till not get any solution.

Django website that refreshes page on new postgres entry to provide realtime updates to user

I want to automatically refresh / reload the django webpage in the users webbrowser when a new entry is found in the database. Currently i use a meta refresh as a temporary solution. I have installed and am using pgpubsub. So i can get a notification when there is a new item in the database. But how can i trigger django to reload the website?
import pgpubsub
pubsub = pgpubsub.connect(host="localhost",database="somedb",user="somebody")
pubsub.listen('pg_news');
for e in pubsub.events():
print(e.payload)
any ideas are welcome

Django Forms without admin

I am learning Django, I saw so many videos of DJango.
I just wanted to know one thing that can we create an app (like login app, or contact app) without registering it into in admin (admin.py).
Off course it should have model etc to save the contact details or login details etc. Is it possible in Django ?
Just don't create your admin.py file or not register the model that you don't want to see there. Django admin is fully optional.