#14176: Error raised when using django.contrib.comments.feeds.LatestCommentsFeed
----------------------------------------------+-----------------------------
          Reporter:  psychcf                  |         Owner:  nobody
            Status:  new                      |     Milestone:        
         Component:  django.contrib.comments  |       Version:  1.2   
        Resolution:                           |      Keywords:        
             Stage:  Unreviewed               |     Has_patch:  0     
        Needs_docs:  0                        |   Needs_tests:  0     
Needs_better_patch:  0                        |  
----------------------------------------------+-----------------------------
Comment (by zeth):

 So in other words, you need to use an instance of the class instead of the
 class itself.

 So instead of:

      'comments': LatestCommentFeed,

 You need:

      'comments': LatestCommentFeed(),

 It is a 'gotcha' but not a valid bug. This can be closed.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14176#comment:3>
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