1. Guilherme Gondim
  2. django-diario

Commits

H3n0xek  committed be4803e

Feeds refactoring

--HG--
branch : new_feeds

  • Participants
  • Parent commits 0e1fd83
  • Branches master

Comments (0)

Files changed (4)

File diario/feeds/comments.py

View file
  • Ignore whitespace
 
 from django.conf import settings
 from django.contrib.comments.models import Comment
-from django.contrib.syndication.feeds import Feed
-from django.contrib.syndication.feeds import FeedDoesNotExist
+from django.contrib.syndication.views import Feed
+from django.contrib.syndication.views import FeedDoesNotExist
 from django.utils.feedgenerator import Atom1Feed
 from django.contrib.sites.models import Site
 from django.core.exceptions import ObjectDoesNotExist

File diario/feeds/entries.py

View file
  • Ignore whitespace
 #
 
 from django.conf import settings
-from django.contrib.syndication.feeds import Feed
-from django.contrib.syndication.feeds import FeedDoesNotExist
+from django.contrib.syndication.views import Feed
+from django.contrib.syndication.views import FeedDoesNotExist
 from django.utils.feedgenerator import Atom1Feed
 from django.contrib.sites.models import Site
 from django.core.exceptions import ObjectDoesNotExist

File diario/feeds/entries_by_author.py

View file
  • Ignore whitespace
 #
 
 from django.contrib.auth.models import User
-from django.contrib.syndication.feeds import Feed
-from django.contrib.syndication.feeds import FeedDoesNotExist
+from django.contrib.syndication.views import Feed
+from django.contrib.syndication.views import FeedDoesNotExist
 from django.utils.feedgenerator import Atom1Feed
 from django.contrib.sites.models import Site
 from django.core.exceptions import ObjectDoesNotExist

File diario/feeds/tagged.py

View file
  • Ignore whitespace
 #  Software Foundation. See the file README for copying conditions.
 #
 
-from django.contrib.syndication.feeds import Feed
-from django.contrib.syndication.feeds import FeedDoesNotExist
+from django.contrib.syndication.views import Feed
+from django.contrib.syndication.views import FeedDoesNotExist
 from django.utils.feedgenerator import Atom1Feed
 from django.contrib.sites.models import Site
 from django.core.exceptions import ObjectDoesNotExist