Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #563 from azmeuk/issue-template
Added a github issue template
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
### Actual Behavior | ||
|
||
```python | ||
# Paste a minimal piece of code that causes the problem. 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 | ||
|
||
```python | ||
# 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Describe the issue you are attempting to fix. | ||
|
||
Link to any relevant issues or pull requests. | ||
|
||
Describe what this patch does to fix the issue. | ||
|
||
<!-- | ||
Commit checklist: | ||
* add tests that fail without the patch | ||
* ensure all tests pass with ``pytest`` | ||
* add documentation to the relevant docstrings or pages | ||
* add ``versionadded`` or ``versionchanged`` directives to relevant docstrings | ||
* add a changelog entry if this patch changes code | ||
--> |