Tidy up TODO comments on filter/get API
This commit is contained in:
parent
06c082e230
commit
a984bc21cc
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ def test_updates_a_model():
|
||||||
|
|
||||||
@pytest.mark.skip("Not implemented yet")
|
@pytest.mark.skip("Not implemented yet")
|
||||||
def test_exact_match_queries():
|
def test_exact_match_queries():
|
||||||
|
# TODO: Should get() support expressions? I.e., ...
|
||||||
# What if the field wasn't unique and there were two "a@example.com"
|
# What if the field wasn't unique and there were two "a@example.com"
|
||||||
# entries? This would raise a MultipleObjectsReturned error:
|
# entries? This would raise a MultipleObjectsReturned error:
|
||||||
member = Member.get(Member.email == "a.m.brookins@gmail.com")
|
member = Member.get(Member.email == "a.m.brookins@gmail.com")
|
||||||
|
|
Loading…
Reference in a new issue