fix(init): Update method for passing extra attrs #135 #136

Merged
imAsparky merged 5 commits from issue-135 into main 2024-06-28 07:28:12 +00:00
imAsparky commented 2024-06-28 07:28:00 +00:00 (Migrated from github.com)

If tag-me is used within a view that overrides the get_form_kwargs
and injects a 'user' key the following error is raised!
Form() got multiple values for keyword argument 'user'

The fix was to remove the direct passing of user to the init, add a check in
form kwargs and only add the user if it was not present.

closes #135

If tag-me is used within a view that overrides the get_form_kwargs and injects a 'user' key the following error is raised! Form() got multiple values for keyword argument 'user' The fix was to remove the direct passing of user to the init, add a check in form kwargs and only add the user if it was not present. closes #135
Sign in to join this conversation.
No description provided.