abishekg
Re:Schedule (Python)
on Sunday December 12, 2021 @06:53PM (#29534962)
I understand celery is the other way to do this? Can I replace celery based schedule with this one? Seems much simpler..
Re:Django, HTMX and Alpine.js: Modern websites, JavaScript optional
on Tuesday November 23, 2021 @06:33PM (#29324986)
This is a pretty cool idea. The only catch is retaining consistent state across the page when there are multiple components that depend on same data. For instance, if there’s a form that submits to increment or decrement some dataset, but there is a stat based on that data in the sidebar, then it’s nearly impossible to keep the stat relevant. That said, its a planning problem than a stack problem.
I’ve been trying this in all my hobby projects and am absolutely hooked. It feels simpler than even django-sockpuppet, say.
Re:Native-like Navigation of Web apps
on Monday November 22, 2021 @08:19AM (#29306015)
Ionic used to do this. But in angular they stopped supporting this type stacked page transitions. Do they do this with vue or react?
Re:A guide to organizing settings in Django
on Friday November 12, 2021 @09:50AM (#29199768)
I use python-decouple with django and it’s solved this pretty elegantly. A dotenv file for local and env variables for production. Isn’t that the 12 factor recommendation?