Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: form signature #752

Closed

Conversation

PavelPancocha
Copy link
Contributor

@PavelPancocha PavelPancocha commented Sep 18, 2024

  • Fix wrong typing
  • Improve code

Fix: #760

*args,
**kwargs,
) -> None:
super().__init__(request, *args, **kwargs)
super().__init__(*args, **kwargs)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no "request" in this form. Only data as first argument. Why it worked fine: Djano uses it as a positional only -> the "request" was "data"

 - Fix wrong typing
 - Improve code
@lukasvinclav
Copy link
Contributor

lukasvinclav commented Sep 20, 2024

Would you mind to create appropriate issue for this ticket explaining in detail what we want to achieve?

@PavelPancocha
Copy link
Contributor Author

@lukasvinclav here you go: #760

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong forms signature
2 participants