Author: DrMeers
Date: 2010-12-04 05:35:22 -0600 (Sat, 04 Dec 2010)
New Revision: 14810

Modified:
   django/trunk/docs/ref/contrib/comments/custom.txt
Log:
Fixed #12812 -- added warning about cyclic imports in contrib.comments. Thanks 
to Beetle_B, bjourne and philgyford for the reports, and Russ for the wording.

Modified: django/trunk/docs/ref/contrib/comments/custom.txt
===================================================================
--- django/trunk/docs/ref/contrib/comments/custom.txt   2010-12-04 11:20:52 UTC 
(rev 14809)
+++ django/trunk/docs/ref/contrib/comments/custom.txt   2010-12-04 11:35:22 UTC 
(rev 14810)
@@ -110,6 +110,18 @@
     def get_form():
         return CommentFormWithTitle
 
+
+.. warning::
+
+    Be careful not to create cyclic imports in your custom comments app.
+    If you feel your comment configuration isn't being used as defined --
+    for example, if your comment moderation policy isn't being applied --
+    you may have a cyclic import problem.
+
+    If you are having unexplained problems with comments behavior, check
+    if your custom comments application imports (even indirectly)
+    any module that itself imports Django's comments module.
+
 The above process should take care of most common situations. For more
 advanced usage, there are additional methods you can define. Those are
 explained in the next section.

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

Reply via email to