Author: adrian
Date: 2011-05-14 10:58:32 -0700 (Sat, 14 May 2011)
New Revision: 16227
Modified:
django/trunk/docs/releases/1.4.txt
Log:
Edited docs/releases/1.4.txt changes from [16124]
Modified: django/trunk/docs/releases/1.4.txt
===================================================================
--- django/trunk/docs/releases/1.4.txt 2011-05-14 17:44:10 UTC (rev 16226)
+++ django/trunk/docs/releases/1.4.txt 2011-05-14 17:58:32 UTC (rev 16227)
@@ -139,19 +139,18 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Django's :doc:`comments app </ref/contrib/comments/index>` has historically
-supported excluding the comments of a special user group but never documented
-the feature properly and didn't enforce the exclusion in other parts of the
-app, e.g. the template tags. To fix this problem the code was removed from
-the feed class.
+supported excluding the comments of a special user group, but we've never
+documented the feature properly and didn't enforce the exclusion in other parts
+of the app, e.g., the template tags. To fix this problem, we removed the code
+from the feed class.
If you rely on the feature and want to restore the old behavior, simply use
-a custom comment model manager to exclude the user group, e.g.::
+a custom comment model manager to exclude the user group, like this::
from django.conf import settings
from django.contrib.comments.managers import CommentManager
class BanningCommentManager(CommentManager):
-
def get_query_set(self):
qs = super(BanningCommentManager, self).get_query_set()
if getattr(settings, 'COMMENTS_BANNED_USERS_GROUP', None):
@@ -174,7 +173,7 @@
objects = BanningCommentManager()
-For more details see the docs about
+For more details, see the documentation about
:doc:`customizing the comments framework </ref/contrib/comments/custom>`.
`IGNORABLE_404_STARTS` and `IGNORABLE_404_ENDS` settings
--
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.