Skip to content

Commit

Permalink
Merge pull request #563 from azmeuk/issue-template
Browse files Browse the repository at this point in the history
Added a github issue template
  • Loading branch information
azmeuk committed Apr 20, 2020
2 parents 1a00047 + 6be0f60 commit 129040a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -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:
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -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
-->

0 comments on commit 129040a

Please sign in to comment.