Page Menu
Home
Search
Configure Global Search
Log In
Differential
D11707
Diff 38761
bid_main/templatetags/forms.py
Changeset View
RegistrationForm cannot use BootstrapModelFormMixin because it has to override __init___ in its own way, so this filter is used to do the same thing BootstrapModelFormMixin does, but directly in the template.
(It's worth completely replacing BootstrapModelFormMixin with this filter, for the sake of separating "business logic" from representation, however this is out of scope of this patch.)