Re:Ask HN: What's your quarantine side project?
by raihansaputra on Friday May 15, 2020 @09:06AM
(#23191703)
Yeah, Django's documentation is top notch, but I haven't seen a lot about mixing Django + Intercooler. That's a cool approach to make sure the actions are always reachable. Will read these, and maybe reach out to you sometime to find out how you like Unpoly! Thanks!
https://docs.djangoproject.com/en/3.0/
There is some material on using Django with intercooler.js:
https://www.reddit.com/r/django/comments/5nj242/psa_intercoo...
https://engineering.instawork.com/iterating-with-simplicity-...
but in the end I did something slightly different: for actions I just have in my views:
That way, should I get to that page by any other way (user has disabled JS, I have a link in my page because I want a full page reload), it still works fine. Hope this helps.I had a look at Unpoly, that looks very interesting and could simplify the backend code even more.