Commits

Pavel Zhukov  committed bb8cabb

Allow posting comments for authenticated users

  • Participants
  • Parent commits c3a4c3d

Comments (0)

Files changed (1)

File dblog/models.py

                 recipient, fail_silently=True)
 
     def moderate(self, comment, content_object, request):
-        if request.user == content_object.author:
+        if request.user.is_authenticated():
             return False
         return True