On Oct 7, 10:49 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> from django.contrib import comments
>
> def my_get_form():
>      return MyCommentForm
>
> comments.get_form = my_get_form

This works, but it should be noted that it's an unfortunate
monkeypatch that is necessary because contrib.comments doesn't
properly support customization yet.  Once ticket 8630 [1] is resolved,
the proper way to do this will be to create your own app with a
get_form() function in __init__.py, and then set COMMENTS_APP to point
to your app.

Carl

 [1] http://code.djangoproject.com/ticket/8630
--~--~---------~--~----~------------~-------~--~----~
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 to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to