Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed error in djangoproject.com update_feeds.py. Refs #2117

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@3106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a270288797ab5c6ce82dc112d48ed8b5763cf9ec 1 parent 12b11ef
adrian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_website/apps/aggregator/bin/update_feeds.py
View
2  django_website/apps/aggregator/bin/update_feeds.py
@@ -38,7 +38,7 @@ def update_feeds():
date_modified = datetime.datetime.now()
try:
- feed.feeditem_set.filter(guid=guid)
+ feed.feeditem_set.get(guid=guid)
except FeedItem.DoesNotExist:
feed.feeditem_set.create(title=title, link=link, summary=content, guid=guid, date_modified=date_modified)
Please sign in to comment.
Something went wrong with that request. Please try again.