while mucking around, set feed to atom to match type I set in autodiscovery link [#26402939]

pull/1/head
eric 2012-03-20 13:53:53 -04:00
parent 530e07f383
commit 58cb0c9f2a
1 changed files with 2 additions and 0 deletions

View File

@ -1,8 +1,10 @@
from django.contrib.auth.models import User
from django.contrib.syndication.views import Feed
from django.shortcuts import get_object_or_404
from django.utils.feedgenerator import Atom1Feed
class SupporterWishlistFeed(Feed):
feed_type = Atom1Feed
def get_object(self, request, supporter):
return get_object_or_404(User, username=supporter)