diff options
| author | Claude Paroz <claude@2xlibre.net> | 2018-08-21 15:28:51 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2018-08-21 17:46:45 +0200 |
| commit | 201017df308266c7d5ed20181e6d0ffa5832e3e9 (patch) | |
| tree | b0ef49951614962cdd7409158ffd06b7f3b9bb55 /django/contrib/admin/widgets.py | |
| parent | 939dcff24f8e97d114595b102fb12348da482135 (diff) | |
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
Diffstat (limited to 'django/contrib/admin/widgets.py')
| -rw-r--r-- | django/contrib/admin/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py index 32a1900cb1..c5cde4b14d 100644 --- a/django/contrib/admin/widgets.py +++ b/django/contrib/admin/widgets.py @@ -193,7 +193,7 @@ class ForeignKeyRawIdWidget(forms.TextInput): except NoReverseMatch: url = '' # Admin not registered for target model. - return Truncator(obj).words(14, truncate='...'), url + return Truncator(obj).words(14), url class ManyToManyRawIdWidget(ForeignKeyRawIdWidget): |
