Tidy up TODO comments on filter/get API

This commit is contained in:
Andrew Brookins 2021-09-01 13:12:04 -07:00
parent 06c082e230
commit a984bc21cc

View file

@ -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")