Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A fix to the feed updater to not keep puting new content to the top.

  • Loading branch information...
commit 1b24c9bfe05efde0f381c9c11e2cea9115cca2d6 1 parent b8ae5ef
@jacobian jacobian authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 django_website/aggregator/models.py
View
4 django_website/aggregator/models.py
@@ -47,6 +47,10 @@ def create_or_update_by_guid(self, guid, **kwargs):
else:
# Update an existing one.
kwargs.pop('feed', None)
+
+ # Don't update the date since most feeds get this wrong.
+ kwargs.pop('date_modified')
+
for k,v in kwargs.items():
setattr(item, k, v)
item.save()
Please sign in to comment.
Something went wrong with that request. Please try again.