Revised the documentation of the get_query_number() function.
This commit is contained in:
parent
37cddf478c
commit
51ec6f7eed
@ -148,7 +148,7 @@ def get_query_number(request, name):
|
|||||||
name (str): The name of the query parameter
|
name (str): The name of the query parameter
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
The parameter value, or None if this parameter does not
|
int: The parameter value, or None if this parameter does not
|
||||||
exist or is not a positive number
|
exist or is not a positive number
|
||||||
"""
|
"""
|
||||||
if name not in request.GET:
|
if name not in request.GET:
|
||||||
|
Loading…
Reference in New Issue
Block a user