Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
added `random_queryset` docs.
  • Loading branch information
agusmakmun authored May 26, 2021
1 parent 50f56ce commit b56d7a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ Reverses the order in which a queryset’s elements are returned.
Returns a random object matched by the queryset, or `None`
if there is no matching object.

##### [](#header-5)random_queryset(maximum: int = None)

Returns a random objects matched by the queryset.

##### [](#header-5)none()

Returns instance of an `EmptyQuerySet`.
Expand Down Expand Up @@ -377,4 +381,4 @@ Case-insensitive ends-with.

##### [](#header-5)isnone

Checks if the value is equal to Python `NoneType`.
Checks if the value is equal to Python `NoneType`.

0 comments on commit b56d7a8

Please sign in to comment.