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 = () 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 @@
{{ endpoint.docstring|markdown }}
+{{ endpoint.docstring|safe }}
{% endif %} {% if endpoint.errors %}