Added column__not=blah filter

Closes #148
This commit is contained in:
Simon Willison 2017-11-23 14:09:50 -08:00
commit b450778391
No known key found for this signature in database
GPG key ID: FBB38AFE227189DB
2 changed files with 5 additions and 0 deletions

View file

@ -254,6 +254,10 @@ def test_paginate_tables_and_views(app_client, path, expected_rows, expected_pag
('/test_tables/simple_primary_key.json?content__exact=', [
['3', ''],
]),
('/test_tables/simple_primary_key.json?content__not=world', [
['1', 'hello'],
['3', ''],
]),
])
def test_table_filter_queries(app_client, path, expected_rows):
response = app_client.get(path, gather_request=False)