Changeset 363
- Timestamp:
- 08/01/05 13:57:37 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/testapp/models/custom_methods.py
r336 r363 49 49 WHERE pub_date = %s 50 50 AND id != %s""", [str(self.pub_date), self.id]) 51 # The asterisk in "Article(*row)" tells Python to expand the list into 52 # positional arguments to Article(). 51 53 return [Article(*row) for row in cursor.fetchall()] 52 54
