diff options
| author | Mike Hansen <mike@rover.com> | 2019-09-23 08:31:21 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-12-18 13:15:38 +0100 |
| commit | 35d36d946272bed06a3d7c7cd4e5b71b613e7a4f (patch) | |
| tree | e6c774f841dc77ca311be6ecfad9c5d7ef790336 /django/views/static.py | |
| parent | d291c72bf24387e4abe8d9883ebe9c69abdd26d0 (diff) | |
Refs #30585 -- Updated project templates and tests to use (block)translate tags.
Diffstat (limited to 'django/views/static.py')
| -rw-r--r-- | django/views/static.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/views/static.py b/django/views/static.py index 541abc66c5..3477ca57b7 100644 --- a/django/views/static.py +++ b/django/views/static.py @@ -62,10 +62,10 @@ DEFAULT_DIRECTORY_INDEX_TEMPLATE = """ <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Language" content="en-us"> <meta name="robots" content="NONE,NOARCHIVE"> - <title>{% blocktrans %}Index of {{ directory }}{% endblocktrans %}</title> + <title>{% blocktranslate %}Index of {{ directory }}{% endblocktranslate %}</title> </head> <body> - <h1>{% blocktrans %}Index of {{ directory }}{% endblocktrans %}</h1> + <h1>{% blocktranslate %}Index of {{ directory }}{% endblocktranslate %}</h1> <ul> {% if directory != "/" %} <li><a href="../">../</a></li> |
