News for hackers. Stuff that matters.
Re:Django, HTMX and Alpine.js: Modern websites, JavaScript o... by acdha on Tuesday November 23, 2021 @11:34AM (#29319825)
A few years back, I implemented this as a Django CBV which worked quite well:

https://github.com/LibraryOfCongress/concordia/blob/main/con...

That handles a few things like pagination for list views, calling get_absolute_url() on objects in the template context which have that method defined, and running all URLs through request.build_absolute_uri().

There are no comments on this comment yet.