#11917: Generic comment moderation fails on ./manage.py shell with 
AlreadyModerated
----------------------------------------------+-----------------------------
          Reporter:  fractal                  |         Owner:  nobody          
            Status:  closed                   |     Milestone:                  
         Component:  django.contrib.comments  |       Version:  1.1             
        Resolution:  worksforme               |      Keywords:  AlreadyModerated
             Stage:  Unreviewed               |     Has_patch:  0               
        Needs_docs:  0                        |   Needs_tests:  0               
Needs_better_patch:  0                        |  
----------------------------------------------+-----------------------------
Changes (by thejaswi_puthraya):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => worksforme
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I used similar code and it worked on SVN...

 {{{

 # com/models.py

 from django.db import models
 from django.contrib.comments.moderation import CommentModerator, moderator

 # Create your models here.
 class Entry(models.Model):
     pass

 class EntryModerator(CommentModerator):
     pass

 moderator.register(Entry, EntryModerator)
 }}}

 {{{
 In [1]: from com.models import *

 In [2]:

 }}}

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