aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/generics.py
diff options
context:
space:
mode:
authorVictor Shih2013-05-01 21:26:40 -0700
committerVictor Shih2013-05-01 21:26:40 -0700
commit8cabae22c5330da2e0a15a6d61ef038a6447756a (patch)
treefbebe8abad45c92f9dc0d3bb87b1d1ecbbdeeb61 /rest_framework/tests/generics.py
parent198b679e02954ebcfac37e9d0146caf575df4f5a (diff)
downloaddjango-rest-framework-8cabae22c5330da2e0a15a6d61ef038a6447756a.tar.bz2
Example and spelling fixes. Change "browseable" to "browsable" for consistency.
Diffstat (limited to 'rest_framework/tests/generics.py')
-rw-r--r--rest_framework/tests/generics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/generics.py b/rest_framework/tests/generics.py
index 4a13389a..eca50d82 100644
--- a/rest_framework/tests/generics.py
+++ b/rest_framework/tests/generics.py
@@ -377,7 +377,7 @@ class TestCreateModelWithAutoNowAddField(TestCase):
self.assertEqual(created.content, 'foobar')
-# Test for particularly ugly regression with m2m in browseable API
+# Test for particularly ugly regression with m2m in browsable API
class ClassB(models.Model):
name = models.CharField(max_length=255)
@@ -402,7 +402,7 @@ class ExampleView(generics.ListCreateAPIView):
class TestM2MBrowseableAPI(TestCase):
def test_m2m_in_browseable_api(self):
"""
- Test for particularly ugly regression with m2m in browseable API
+ Test for particularly ugly regression with m2m in browsable API
"""
request = factory.get('/', HTTP_ACCEPT='text/html')
view = ExampleView().as_view()