Exciting to see people start to pick up template-partials with Django 6.0.
“Wait until you hit upon using them for form field templates”, I quietly whisper 🥳
Exciting to see people start to pick up template-partials with Django 6.0.
“Wait until you hit upon using them for form field templates”, I quietly whisper 🥳
@nanorepublica OK, so...
https://github.com/django/django/compare/main...carltongibson:django:tweaks/simplify-form-templates
... is the start.
Don't know if there'd be appetite for that in #django? (cc @davidsmith )
@adamchainz @nanorepublica @davidsmith Yeah, it's a lot simpler.
But it's the super powers it unlocks that are most fun. 🤩
(Yes, @nanorepublica, busy writing ✍️)
@carlton @adamchainz @nanorepublica
Nice. 👍 (assuming we are happy to adjust the output)
If I had a magic wand I'd change the api so that you can avoid unpacking (field, errors) where `errors` is unused.