Hacker News new | ask | show | jobs
by StavrosK 2142 days ago
I don't know what you're thinking of, unfortunately, but that piece of code just returns the current date when you visit the page.
1 comments

After taking a uninterrupted reading slot to understand the async views, you're right, and I had the concept understood wrong.
Yeah, I think you were thinking some sort of auto-refresh.
That was exactly what I was hoping this to be.
Perhaps django-reactor would be of interest to you? [1] It's targeting LiveView-like functionality for Django. I haven't used it (so I can't vouch for the claim).

1: https://pypi.org/project/django-reactor/