mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate.
This commit is contained in:
committed by
Mariusz Felisiak
parent
acde917456
commit
1024b5e74a
@@ -12,7 +12,7 @@ class CustomColumnsTests(TestCase):
|
||||
cls.a2 = Author.objects.create(first_name="Peter", last_name="Jones")
|
||||
cls.authors = [cls.a1, cls.a2]
|
||||
|
||||
cls.article = Article.objects.create(headline="Django lets you build Web apps easily", primary_author=cls.a1)
|
||||
cls.article = Article.objects.create(headline="Django lets you build web apps easily", primary_author=cls.a1)
|
||||
cls.article.authors.set(cls.authors)
|
||||
|
||||
def test_query_all_available_authors(self):
|
||||
@@ -64,7 +64,7 @@ class CustomColumnsTests(TestCase):
|
||||
def test_get_all_articles_for_an_author(self):
|
||||
self.assertQuerysetEqual(
|
||||
self.a1.article_set.all(), [
|
||||
"Django lets you build Web apps easily",
|
||||
"Django lets you build web apps easily",
|
||||
],
|
||||
lambda a: a.headline
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user