Skip to content

Commit

Permalink
Merge pull request #814 from sasha0/feature/docs-unicode
Browse files Browse the repository at this point in the history
Do not display outdated unicode strings in the documentation.
  • Loading branch information
rtpg committed Aug 9, 2022
2 parents 4765cd3 + 54b74f8 commit 72c2111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ playing around with the API.
just an iterable) containing the name of each tag as a string::

>>> apple.tags.names()
[u'green and juicy', u'red']
["green and juicy", "red"]

.. method:: slugs()

Convenience method, returning a ``ValuesListQuerySet`` (basically
just an iterable) containing the slug of each tag as a string::

>>> apple.tags.slugs()
[u'green-and-juicy', u'red']
["green-and-juicy", "red"]

.. hint::

Expand Down

0 comments on commit 72c2111

Please sign in to comment.