mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-25 08:35:49 +03:00
[PR #6] [CLOSED] Add query operators. #97
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jeffknupp/sandman2/pull/6
Author: @jmcarp
Created: 8/10/2015
Status: ❌ Closed
Base:
master← Head:add-operators📝 Commits (8)
188d7fbFix failing admin test.59d3cadInstall on Travis with setuptools.6dd763aAdd query operators.91fad8fAdd not equal operator.72cd4e2Handle filtering on repeated query parameters.3ca05c2Test case insensitive setting.f6bc4caAllow custom query delimiters.ecf5829Use WebTest for more concise tests.📊 Changes
12 files changed (+376 additions, -185 deletions)
View changed files
📝
.travis.yml(+9 -10)📝
requirements.txt(+3 -0)➕
sandman2/operators.py(+114 -0)📝
sandman2/service.py(+17 -4)➕
sandman2/utils.py(+15 -0)📝
setup.py(+3 -1)📝
tests/automap_models.py(+6 -3)📝
tests/conftest.py(+8 -2)📝
tests/test_automap_base_models.py(+4 -10)📝
tests/test_extended_functionality.py(+4 -7)📝
tests/test_sandman2.py(+156 -97)📝
tests/test_user_models.py(+37 -51)📄 Description
Support less than, greater than, like and other operators, using query
parameters of the format "field__operator=value". Based on
https://github.com/jeffknupp/sandman/pull/115.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.