#12812: Inheriting from comments breaks comment moderation
----------------------------------------------+-----------------------------
Reporter: Beetle_B | Owner: nobody
Status: reopened | Milestone:
Component: django.contrib.comments | Version: 1.1
Resolution: | Keywords: comments
inheritance moderation
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------------+-----------------------------
Changes (by Beetle_B):
* status: closed => reopened
* resolution: invalid =>
Comment:
Thanks for pointing it out, but it still didn't work.
In my settings.py file, I put:
{{{
COMMENTS_APP = 'treecomments'
}}}
I had already created the get_model() in __init__.py for treecomments.
Yet, it doesn't work if I simply subclass CommentModerator and import
moderator from django.contrib.comments.moderation. The funny thing is that
if I simply copy and paste the moderation.py file into my models.py file,
everything works fine: It correctly detects the new comments app. Could I
be handling some imports incorrectly?
--
Ticket URL: <http://code.djangoproject.com/ticket/12812#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.