mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -22,7 +22,7 @@ class CustomColumnRegression(TestCase):
|
||||
self.authors = [self.a1, self.a2]
|
||||
|
||||
def test_basic_creation(self):
|
||||
art = Article(headline='Django lets you build web apps easily', primary_author=self.a1)
|
||||
art = Article(headline='Django lets you build Web apps easily', primary_author=self.a1)
|
||||
art.save()
|
||||
art.authors = [self.a1, self.a2]
|
||||
|
||||
@@ -68,7 +68,7 @@ class CustomColumnRegression(TestCase):
|
||||
)
|
||||
|
||||
def test_m2m_table(self):
|
||||
art = Article.objects.create(headline='Django lets you build web apps easily', primary_author=self.a1)
|
||||
art = Article.objects.create(headline='Django lets you build Web apps easily', primary_author=self.a1)
|
||||
art.authors = self.authors
|
||||
self.assertQuerysetEqual(
|
||||
art.authors.all().order_by('last_name'),
|
||||
@@ -76,7 +76,7 @@ class CustomColumnRegression(TestCase):
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
self.a1.article_set.all(),
|
||||
['<Article: Django lets you build web apps easily>']
|
||||
['<Article: Django lets you build Web apps easily>']
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
art.authors.filter(last_name='Jones'),
|
||||
|
||||
Reference in New Issue
Block a user