1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

added docs and more tests

This commit is contained in:
John Anderson
2020-02-24 15:03:07 -05:00
parent 9116d74cf7
commit 67565ca191
6 changed files with 231 additions and 45 deletions

View File

@@ -57,19 +57,6 @@ FILTER_NEGATION_LOOKUP_MAP = dict(
n='exact'
)
FILTER_LOOKUP_HELP_TEXT_MAP = dict(
icontains='case insensitive contains',
iendswith='case insensitive ends with',
istartswith='case insensitive starts with',
iexact='case insensitive exact',
exact='case sensitive exact',
lt='less than',
lte='less than or equal',
gt='greater than',
gte='greater than or equal',
n='negated'
)
# Keys for PostgreSQL advisory locks. These are arbitrary bigints used by
# the advisory_lock contextmanager. When a lock is acquired,