From 7631a9f8fb043eed9054c9a34a00374d4fb368f3 Mon Sep 17 00:00:00 2001 From: Alexandre Varas Date: Wed, 22 Jun 2016 11:05:07 +0200 Subject: [PATCH 1/2] Marked docstring as `safe` to be able to use html --- rest_framework_docs/templates/rest_framework_docs/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework_docs/templates/rest_framework_docs/home.html b/rest_framework_docs/templates/rest_framework_docs/home.html index e13e5a5..4647b61 100644 --- a/rest_framework_docs/templates/rest_framework_docs/home.html +++ b/rest_framework_docs/templates/rest_framework_docs/home.html @@ -57,7 +57,7 @@

{% if endpoint.docstring %} -

{{ endpoint.docstring|markdown }}

+

{{ endpoint.docstring|safe }}

{% endif %} {% if endpoint.errors %} From 5570ab8bd98cb65869239808d17d93cbfdb57d57 Mon Sep 17 00:00:00 2001 From: Alexandre Varas Date: Tue, 11 Oct 2016 11:46:05 +0200 Subject: [PATCH 2/2] Updated to latest master --- demo/project/accounts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/project/accounts/views.py b/demo/project/accounts/views.py index e1bd9c0..e604212 100644 --- a/demo/project/accounts/views.py +++ b/demo/project/accounts/views.py @@ -21,7 +21,7 @@ class TestView(TemplateView): class LoginView(APIView): """ - A view that allows users to login providing their username and password. + A view that allows users to login providing their username and password. """ throttle_classes = ()