mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #22313 -- Removed 'u' prefixes from documentation
This commit is contained in:
parent
232181d1c5
commit
3a97f992fb
21 changed files with 179 additions and 177 deletions
|
@ -484,7 +484,7 @@ A few subtleties that are worth mentioning:
|
|||
For example::
|
||||
|
||||
>>> Entry.objects.values()
|
||||
[{'blog_id': 1, 'headline': u'First Entry', ...}, ...]
|
||||
[{'blog_id': 1, 'headline': 'First Entry', ...}, ...]
|
||||
|
||||
>>> Entry.objects.values('blog')
|
||||
[{'blog': 1}, ...]
|
||||
|
@ -554,7 +554,7 @@ respective field passed into the ``values_list()`` call — so the first item is
|
|||
the first field, etc. For example::
|
||||
|
||||
>>> Entry.objects.values_list('id', 'headline')
|
||||
[(1, u'First entry'), ...]
|
||||
[(1, 'First entry'), ...]
|
||||
|
||||
If you only pass in a single field, you can also pass in the ``flat``
|
||||
parameter. If ``True``, this will mean the returned results are single values,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue