You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just found out about this awesome library. thanks a lot. love it! <3
while playing around with the unicorn, I noticed that i can't use the form validation with form_class when using form helpers or crispy forms and get some error like this
django.template.base.VariableDoesNotExist: Failed lookup for key [form] ...
Thanks for the nice words! I think @nerdoc mentioned some investigation with crispy forms and Unicorn in #227 which might be helpful? However, if you could make a PR with some sample code using crispy forms I could see if I could add anything to unicorn to help in future releases.
I just wrote this here in a few minutes, so it's not tested and copy'n'pasted, but it should work,
Whether it is a good idea to "patch" Unicorn and urge it to be a FormView - I don't know - that has to decide @adamghill - there is another discussion for that...
just found out about this awesome library. thanks a lot. love it! <3
while playing around with the unicorn, I noticed that i can't use the form validation with
form_class
when using form helpers or crispy forms and get some error like thisthis is probably related to #324.
has anybody found a way to make the unicorn validation functionality work together with crispy forms or form helpers in general?
The text was updated successfully, but these errors were encountered: