#14176: Error raised when using django.contrib.comments.feeds.LatestCommentsFeed
-------------------------------------+--------------------------------------
 Reporter:  psychcf                  |       Owner:  nobody    
   Status:  new                      |   Milestone:            
Component:  django.contrib.comments  |     Version:  1.2       
 Keywords:                           |       Stage:  Unreviewed
Has_patch:  0                        |  
-------------------------------------+--------------------------------------
 Whenever I access /rss/comments/ from my site, I get the following error:

 {{{
 Traceback (most recent call last):

   File "/usr/lib/python2.5/site-
 packages/Django-1.2.1-py2.5.egg/django/core/handlers/base.py", line 100,
 in get_response
     response = callback(request, *callback_args, **callback_kwargs)

   File "/usr/lib/python2.5/site-
 packages/Django-1.2.1-py2.5.egg/django/contrib/syndication/views.py", line
 202, in feed
     feedgen = f(slug, request).get_feed(param)

 TypeError: default __new__ takes no parameters
 }}}

 The code is just in urls.py, it should be fairly simple to reproduce:

 {{{
 # ...
 from django.contrib.comments.feeds import LatestCommentFeed

 feeds = {
      'comments': LatestCommentFeed,
 }

 urlpatterns = patterns('',
     # ...
     (r'^rss/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
 {'feed_dict': feeds}),
 )
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14176>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to