1
0
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:
Joseph Kocherhans
2006-01-25 21:51:13 +00:00
parent 650d26d32e
commit faf9ff6316
6 changed files with 16 additions and 17 deletions

View File

@@ -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