From 2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 26 Apr 2014 10:18:45 -0700 Subject: Fix many many typos in comments throughout the codebase --- tests/admin_views/admin.py | 2 +- tests/admin_views/tests.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/admin_views') diff --git a/tests/admin_views/admin.py b/tests/admin_views/admin.py index ba523265c2..a5b3df3b9e 100644 --- a/tests/admin_views/admin.py +++ b/tests/admin_views/admin.py @@ -420,7 +420,7 @@ class PostAdmin(admin.ModelAdmin): if instance.pk: return "%d amount of cool." % instance.pk else: - return "Unkown coolness." + return "Unknown coolness." def value(self, instance): return 1000 diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 60220bb0f0..384d31c2a3 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -1045,8 +1045,8 @@ class AdminViewPermissionsTest(TestCase): """ Make sure only staff members can log in. - Successful posts to the login page will redirect to the orignal url. - Unsuccessfull attempts will continue to render the login page with + Successful posts to the login page will redirect to the original url. + Unsuccessful attempts will continue to render the login page with a 200 status code. """ login_url = reverse('admin:login') + '?next=/test_admin/admin/' @@ -3649,7 +3649,7 @@ class ReadonlyTest(TestCase): self.assertContains(response, "") self.assertContains(response, "Very awesome.") - self.assertContains(response, "Unkown coolness.") + self.assertContains(response, "Unknown coolness.") self.assertContains(response, "foo") # Checks that multiline text in a readonly field gets
tags -- cgit v1.3