Homogenize manager search methods to return querysets. Resolve #2384.
This commit is contained in:
parent
01af303457
commit
9c0b44e13a
7 changed files with 65 additions and 39 deletions
|
|
@ -146,6 +146,9 @@ class HelpEntryManager(TypedObjectManager):
|
|||
ostring (str): The help topic to look for.
|
||||
category (str): Limit the search to a particular help topic
|
||||
|
||||
Returns:
|
||||
Queryset: An iterable with 0, 1 or more matches.
|
||||
|
||||
"""
|
||||
ostring = ostring.strip().lower()
|
||||
if help_category:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue