Join Nostr
2025-03-16 02:19:03 UTC

adamghill on Nostr: Ever wonder why the #Django `date` filter uses formats from PHP?! I did! 😂 So, I ...

Ever wonder why the #Django `date` filter uses formats from PHP?! I did! 😂

So, I made a `dateformat` filter which uses the normal #Python `strftime` format strings (cheatsheet here: https://strftime.org). Docs for the new filter: https://dj-angles.adamghill.com/en/latest/filters/dateformat.html

New `dj-call` and `dj-model` mappers were also added. Docs for the tags: https://dj-angles.adamghill.com/en/latest/tag-elements.html

Both included in the newly published 0.17.0 of `dj-angles`. ✨

📖 https://dj-angles.adamghill.com/
📦 https://pypi.org/project/dj-angles/
🛠️ https://codeberg.org/adamghill/dj-angles