Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1121 from kawazrepos/fix-comment-form
Browse files Browse the repository at this point in the history
Fix validation error on the comment form
  • Loading branch information
giginet committed Dec 28, 2016
2 parents a5f1eff + 170d270 commit bd7b78d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/kawaz/core/comments/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
#
#
#
from django import forms
from django_comments.forms import CommentForm
from django.utils.translation import ugettext_lazy as _
from kawaz.core.forms.fields import MarkdownField



class KawazCommentForm(CommentForm):
name = forms.CharField(required=False)
email = forms.EmailField(required=False)
comment = MarkdownField()

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit bd7b78d

Please sign in to comment.