mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Typo in story count history migration.
This commit is contained in:
parent
bbc15f4fbd
commit
8bde22d1bd
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Migration(DataMigration):
|
||||||
"Write your forwards methods here."
|
"Write your forwards methods here."
|
||||||
from apps.rss_feeds.models import Feed
|
from apps.rss_feeds.models import Feed
|
||||||
for feed in Feed.objects.all():
|
for feed in Feed.objects.all():
|
||||||
feed.stories_last_year = None
|
feed.story_count_history = None
|
||||||
feed.save()
|
feed.save()
|
||||||
try:
|
try:
|
||||||
feed.count_stories(verbose=True)
|
feed.count_stories(verbose=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue