coleifer/django-news — Issue #1: process_news_feeds crashes with MultipleObjectsReturned
Author: piet-byteorbit
Created: 2011-10-11 12:31:03+00:00
State: open

Running the ```process_news_feeds``` management command sometimes results in the following traceback:

```
Traceback (most recent call last):
[...]
File "[...]/news/management/commands/process_news_feeds.py", line 47, in handle_noargs
result = feed.process_feed()
File "[...]/news/models.py", line 246, in process_feed
models.Q(headline__iexact=article.headline)
[...]
news.models.MultipleObjectsReturned: get() returned more than one Article -- it returned 2! Lookup parameters were {}
```