Skip to content

Commit

Permalink
Update documentation example to include fields (#1284)
Browse files Browse the repository at this point in the history
Closes #1249
  • Loading branch information
mattjmorrison committed Oct 10, 2020
1 parent 86bcd42 commit 73cb54c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ the :ref:`core filter arguments <core-arguments>` on a ``FilterSet``::

class Meta:
model = Product
fields = ['price', 'release_date', 'manufacturer']

There are two main arguments for filters:

Expand Down

0 comments on commit 73cb54c

Please sign in to comment.