mirror of
https://github.com/django/django.git
synced 2025-10-30 00:56:09 +00:00
magic-removal: Fixed some model tests that broke with removal of pluralization in [2111].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -29,7 +29,7 @@ class Article(models.Model):
|
||||
cursor = connection.cursor()
|
||||
cursor.execute("""
|
||||
SELECT id, headline, pub_date
|
||||
FROM custom_methods_articles
|
||||
FROM custom_methods_article
|
||||
WHERE pub_date = %s
|
||||
AND id != %s""", [str(self.pub_date), self.id])
|
||||
# The asterisk in "(*row)" tells Python to expand the list into
|
||||
|
||||
Reference in New Issue
Block a user