Changeset 2429
- Timestamp:
- 02/27/06 18:23:09 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/magic-removal/tests/modeltests/custom_methods/models.py
r2195 r2429 19 19 20 20 def get_articles_from_same_day_1(self): 21 return Article.objects.filter( id__ne=self.id, pub_date__exact=self.pub_date)21 return Article.objects.filter(pub_date=self.pub_date).exclude(id=self.id) 22 22 23 23 def get_articles_from_same_day_2(self):
