-
Notifications
You must be signed in to change notification settings - Fork 119
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
Forms example does not work #349
Comments
glyph
added a commit
that referenced
this issue
May 24, 2020
Fix #349: Update forms example to run correctly
@moshez We should fix it so that they work in either order. Can you file a new bug? |
Opened #351 |
wsanchez
added a commit
that referenced
this issue
May 27, 2020
* master: (26 commits) [requires.io] dependency update Fix #349: Update forms example to run correctly [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update Don't use "l" as a variable name. [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update [requires.io] dependency update mock 4 dropped Py2 hypothesis5 drops Py2 Update dependencies Don't have two tw192's ... # Conflicts: # .travis.yml # tox.ini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example in https://github.com/twisted/klein/blob/3e6db246d1272bf6daa07fab00fc3b610c07b1fa/docs/introduction/codeexamples/forms.py does not work with current klein.
The first error is that there is no such thing as
Field.integer
. When corrected toField.number
, the example runs, but when submitting the form, the result is a traceback:In the example, the
routed
andstyle
decorator should be switched:The text was updated successfully, but these errors were encountered: