Typo in story count history migration.

This commit is contained in:
Samuel Clay 2010-08-13 11:05:52 -04:00
parent bbc15f4fbd
commit 8bde22d1bd

View file

@ -10,7 +10,7 @@ class Migration(DataMigration):
"Write your forwards methods here."
from apps.rss_feeds.models import Feed
for feed in Feed.objects.all():
feed.stories_last_year = None
feed.story_count_history = None
feed.save()
try:
feed.count_stories(verbose=True)