diff options
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index ca8c648b1e..687e72a0e0 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -857,7 +857,7 @@ an attribute "description," you could use:: {% regroup cities by country.description as country_list %} Or, if ``country`` is a field with ``choices``, it will have a -:meth:`^django.db.models.Model.get_FOO_display` method available as an +:meth:`~django.db.models.Model.get_FOO_display` method available as an attribute, allowing you to group on the display string rather than the ``choices`` key:: |
