How to extend the comments framework (django) by removing unnecesary fields?

Posted by Ignacio on Stack Overflow See other posts from Stack Overflow or by Ignacio
Published on 2010-03-06T16:43:00Z Indexed on 2010/03/08 15:06 UTC
Read the original article Hit count: 318

Filed under:
|
|

Hi, I've been reading on the django docs about the comments framework and how to customize it (http://docs.djangoproject.com/en/1.1/ref/contrib/comments/custom/) In that page, it shows how to add new fields to a form. But what I want to do is to remove unnecesary fields, like URL, email (amongst other minor mods.)

On that same doc page it says the way to go is to extend my custom comments class from BaseCommentAbstractModel, but that's pretty much it, I've come so far and now I'm at a loss. I couldn't find anything on this specific aspect.

© Stack Overflow or respective owner

Related posts about django

Related posts about python