mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
Refs #29654 -- Replaced three dots with ellipsis character in output strings.
This commit is contained in:
parent
233c70f047
commit
50b8493581
23 changed files with 60 additions and 60 deletions
|
@ -244,7 +244,7 @@ class QuerySet:
|
|||
def __repr__(self):
|
||||
data = list(self[:REPR_OUTPUT_SIZE + 1])
|
||||
if len(data) > REPR_OUTPUT_SIZE:
|
||||
data[-1] = "...(remaining elements truncated)..."
|
||||
data[-1] = "…(remaining elements truncated)…"
|
||||
return '<%s %r>' % (self.__class__.__name__, data)
|
||||
|
||||
def __len__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue