From 8456d042e41807ddff3f98403692fb16927182e4 Mon Sep 17 00:00:00 2001 From: Georg Baumann Date: Mon, 10 Jul 2017 19:17:58 +0200 Subject: [PATCH] add missing template update for "allow adding other langs" --- rest_framework/templates/rest_framework/docs/link.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rest_framework/templates/rest_framework/docs/link.html b/rest_framework/templates/rest_framework/docs/link.html index ae8c7b700..eb5926c4d 100644 --- a/rest_framework/templates/rest_framework/docs/link.html +++ b/rest_framework/templates/rest_framework/docs/link.html @@ -93,9 +93,9 @@
- {% if 'shell' in langs %}{% include "rest_framework/docs/langs/shell.html" %}{% endif %} - {% if 'python' in langs %}{% include "rest_framework/docs/langs/python.html" %}{% endif %} - {% if 'javascript' in langs %}{% include "rest_framework/docs/langs/javascript.html" %}{% endif %} + {% for html in lang_htmls %} + {% include html %} + {% endfor %}