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
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
2 matches
Mail list logo