abelcastro.dev

Django and htmx

2021-08-27

htmxdjango

With htmx is possible to build dynamic Webapps without REST-APIs and JavaScript. Just simple Django views that returns html.

You can learn more about it in this interesting Django chat podcast episode with the htmx creator Carson Gross.

I really like the idea and I wanted since a while to try htmx working together with Django and finally, I managed to work on that. I created this repository with some implementations with Django of the code examples from the htmx docs page.

**Update: **also this website has some htmx magic on it. For example the post pagination or the search function are built with htmx.


Create and use "dummy" Models in a Test Case in Django

2021-04-17

testingdjango

Test inheritance with python (and Django)

2021-03-26

testingpytestdjango
12
...
11
12
13