in blog | Matthias Kestenholz: Posts about Django |
---|---|
original entry | Weeknotes (2024 week 35) |
I have been skeptical about htmx for some time because basically everything the library does is straightforward to do myself with a few lines of JavaScript. I am a convert now because, really, adding a few HTML attributes is nicer than copy pasting a few lines of JavaScript. Feels good.
The combination of htmx with django-template-partials is great as well. I didn’t know I had been missing template partials until I started using them. Includes are still useful, but replacing some of them with partials makes working on the project much more enjoyable.
I haven’t yet had a use for django-htmx but I may yet surprise myself.
authlib.little_auth
which offers an user model which uses the email address as the username. I have also introduced the concept of roles instead of permissions; now I have reorganized the user admin fieldset to hide user permissions altogether. Group permissions are still available as are roles. I’m personally convinced that user permissions were a mistake.IMAGEFIELD_AUTOGENERATE
setting. This is very useful for batch processing. Also, documented all available settings.