Skip to content
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

Add query operators. #115

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

Add query operators. #115

wants to merge 11 commits into from

Conversation

jmcarp
Copy link

@jmcarp jmcarp commented Aug 9, 2015

Support less than, greater than, like, and other operators, using query
parameters of the format "field__operator=value".

There are currently two sets of dependency versions for sandman: one set
of pinned versions in `requirements.txt` and another set of unpinned
versions in `setup.py`. This means that installing via `pip` installs
the latest versions of the dependencies, but installing from
`requirements.txt` installs older, pinned versions. Several tests fail
with the latest versions of Flask-Admin and Flask-WTForms.

This patch fixes the breaking tests and installs tests on Travis using
`setup.py` for consistency.
Instead of fetching all results and paginating in memory, use the
pagination helpers built into Flask-SQLAlchemy.
Support less than, greater than, like, and other operators, using query
parameters of the format "field__operator=value".
jmcarp added a commit to jmcarp/sandman2 that referenced this pull request Aug 10, 2015
Support less than, greater than, like and other operators, using query
parameters of the format "field__operator=value". Based on
jeffknupp/sandman#115.
jmcarp added a commit to jmcarp/sandman2 that referenced this pull request Aug 29, 2015
Support less than, greater than, like and other operators, using query
parameters of the format "field__operator=value". Based on
jeffknupp/sandman#115.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant