First, consider carefully whether you really want to use django.contrib.comments
; it's being deprecated in version 1.6 and will no longer be supported after that. See the discussion here.
If you do want to use it, you're going to have to customize the comments app. The documentation lays out what you need to do. In your forms.py
you'll have something like this:
from pagedown.widgets import PagedownWidget
from django.contrib.comments.forms import CommentForm
from django.forms import CharField
class PagedownCommentForm(CommentForm):
comment = CharField(widget=PagedownWidget())
You'll also need to put a get_form()
function in your new app's __init__.py
, and make the other changes described in the docs.
Hopefully this will give you an idea of how to proceed.