From 3b81bc7d76b3e06c61c50a1f7ca026e43f277d6d Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Wed, 5 Jun 2019 16:40:22 -0700 Subject: [PATCH] Fixup whitespace issue --- docs/api-guide/status-codes.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api-guide/status-codes.md b/docs/api-guide/status-codes.md index 1016f3374..ff076c56c 100644 --- a/docs/api-guide/status-codes.md +++ b/docs/api-guide/status-codes.md @@ -20,13 +20,13 @@ The full set of HTTP status codes included in the `status` module is listed belo The module also includes a set of helper functions for testing if a status code is in a given range. from rest_framework import status - from rest_framework.test import APITestCase + from rest_framework.test import APITestCase - class ExampleTestCase(APITestCase): - def test_url_root(self): - url = reverse('index') - response = self.client.get(url) - self.assertTrue(status.is_success(response.status_code)) + class ExampleTestCase(APITestCase): + def test_url_root(self): + url = reverse('index') + response = self.client.get(url) + self.assertTrue(status.is_success(response.status_code)) For more information on proper usage of HTTP status codes see [RFC 2616][rfc2616]