Source

antibot-forms / templatetags / antibot_comments_tags.py

Diff from to

templatetags/antibot_comments_tags.py

 from django import template
 from django.template import TemplateSyntaxError
-from nexgen_comments.forms import NexGenCommentForm
+from antibot-forms.forms import CommentForm
 from django.conf import settings
 from django.utils.hashcompat import sha_constructor
 import time
 
 @register.inclusion_tag("comments/form.html", takes_context=True)
 def comment_form(context,obj):
-    frm = NexGenCommentForm(context['request'], initial=generate_initial(obj))
+    frm = CommentForm(context['request'], initial=generate_initial(obj))
     return {'frm':frm}