Re: Extend contrib.comments?

2008-10-08 Thread Eric Abrahamsen
On Oct 9, 2008, at 8:14 AM, fitzage wrote: > > So far this is working great in terms of firing off the emails. How do > you go about creating the security hash? I'm a little lost when it > comes to that point. I'm on less solid ground here, unfortunately. Django's got a utility for this (djan

Re: Extend contrib.comments?

2008-10-08 Thread fitzage
So far this is working great in terms of firing off the emails. How do you go about creating the security hash? I'm a little lost when it comes to that point. On Oct 7, 7:49 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > On Oct 7, 2008, at 11:38 PM, fitzage wrote: > > > > > I want to add one ad

Re: Extend contrib.comments?

2008-10-08 Thread fitzage
I don't totally understand that new method, but I should be able to figure it out once it's patched and documented. I'll try the subclassing method for now. Thanks guys! On Oct 8, 5:27 am, Carl Meyer <[EMAIL PROTECTED]> wrote: > On Oct 7, 10:49 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > >

Re: Extend contrib.comments?

2008-10-08 Thread Carl Meyer
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.com

Re: Extend contrib.comments?

2008-10-07 Thread Eric Abrahamsen
On Oct 7, 2008, at 11:38 PM, fitzage wrote: > > I want to add one additional piece of data to the comment form. > Basically a checkbox that says whether or not the commenter wants to > be notified of followup comments. I just did exactly this, and found that what works best is not just to add

Extend contrib.comments?

2008-10-07 Thread fitzage
I want to add one additional piece of data to the comment form. Basically a checkbox that says whether or not the commenter wants to be notified of followup comments. I know how to add the checkbox. I just created a comments/form.html template and added the checkbox to it. I know that the data is