Re: How to customize the default comments form from contrib.comments

2009-10-03 Thread kmike
Define custom form: class NoEmailCommentForm(CommentForm): def __init__(self, *args, **kwargs): super(NoEmailCommentForm, self).__init__(*args, **kwargs) self.fields['email'].required = False Then put def get_form(): return NoEmailCommentForm in your comment customizati

How to customize the default comments form from contrib.comments

2009-10-03 Thread Guillermo
Hi, Specifically, I don't want to require users to enter their email addresses or an url. Regards, Guillermo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t