You can remove fields from templates (from html). They indeed should
be removed if you don't want them :)
Then we face a problem: some of CommentForm fields are marked as
required. The solution is to subclass CommentForm and set this flag to
False:
class NoEmailForm(CommentForm):
def __init__
I have the same problem. Any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email
hi list,
im trying to customise the django comment form and i have no problems
subclassing the Comment model and add my custom fields but i would need
to remove the name, url and email fields because i will let only logged
in users add and see comments in my project and the app fills the fields
i
3 matches
Mail list logo