3 ms·
widget rendering in forms now uses the templating system instead of python I haven't looked at how it's implemented yet, but that sounds like a real godsend.
by aptwebapps 10y ago
widget rendering in forms now uses the templating system instead of python
I haven't looked at how it's implemented yet, but that sounds like a real godsend.
- collinmanderson 10y agoThere's now a get_context() method which returns a dict of useful info. the render() method takes that and applies it to widget.template_name.
- legostormtroopr 10y agoI have looked at it, and it is a godsend.
- Buetol 10y agoThey did the same with the login views, they are now class-based and easy to customize. Very useful when you have an exotic templating engine for example and can't inherit the `registration/login.html` template