From 27598fc5f424903d14bd23e3e736483b1da6a9cd Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Fri, 7 Sep 2012 18:01:17 -0400 Subject: [PATCH] Missing status code in .txt version of API --- djangorestframework/templates/djangorestframework/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangorestframework/templates/djangorestframework/api.txt b/djangorestframework/templates/djangorestframework/api.txt index b2f071d64..c87a154cd 100644 --- a/djangorestframework/templates/djangorestframework/api.txt +++ b/djangorestframework/templates/djangorestframework/api.txt @@ -2,7 +2,7 @@ {{ description }} -HTTP {{ response.status }} {{ response.status_text }} +HTTP {{ response.status_code }} {{ response.status_text }} {% for key, val in response.headers.items %}{{ key }}: {{ val }} {% endfor %} {{ content }}{% endautoescape %}