tlhlh
Closed this issue · 1 comments
Mouhib22 commented
Actual Behavior
# Paste a minimal piece of code that causes the problem:
# - try to avoid using side projects like flask-wtf
# or wtforms-alchemy in your sample ;
# - delete all the irrelevant code (comments, irrelevant fields etc.).
# Here is an example:
>>> import wtforms
>>> class F(wtforms.Form):
... foo = wtforms.StringField()
>>> f = F(foo="bar")
>>> print(f.foo.shrug)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'StringField' object has no attribute 'shrug'
Expected Behavior
# Show us, and explain what behavior you would have expected.
# Here is an example:
>>> import wtforms
>>> class F(wtforms.Form):
... foo = wtforms.StringField()
>>> f = F(foo="bar")
>>> print(f.foo.shrug)
¯\_(ツ)_/¯
Environment
- Python version:
- wtforms version:
ThiefMaster commented
Are you trolling?