Skip to content

Commit

Permalink
Merge pull request #18 from inaturalist/pleary-dev
Browse files Browse the repository at this point in the history
Synonyms, common ancestor, refactoring
  • Loading branch information
pleary authored Mar 27, 2024
2 parents c1b8939 + 5e1cfe4 commit 9d20a79
Show file tree
Hide file tree
Showing 25 changed files with 1,183 additions and 1,236 deletions.
3 changes: 3 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[scripts]
tests = "pytest -s"
coverage = "bash -c 'coverage run -m pytest -s && coverage report --show-missing'"
7 changes: 5 additions & 2 deletions forms.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from flask_wtf import FlaskForm
from flask_wtf.file import FileField, FileRequired


class ImageForm(FlaskForm):
image = FileField('image',
image = FileField(
"image",
validators=[
FileRequired(message="Please include 'image' field.")
])
]
)
Loading

0 comments on commit 9d20a79

Please sign in to comment.