#9958: Split contrib.comments CommentForm class to allow easier customization
----------------------------------------------+-----------------------------
          Reporter:  arne                     |         Owner:  nobody          
       
            Status:  new                      |     Milestone:                  
       
         Component:  django.contrib.comments  |       Version:  SVN             
       
        Resolution:                           |      Keywords:  comments, 
customization
             Stage:  Design decision needed   |     Has_patch:  0               
       
        Needs_docs:  0                        |   Needs_tests:  0               
       
Needs_better_patch:  0                        |  
----------------------------------------------+-----------------------------
Comment (by thejaswi_puthraya):

 Ok here is what is basically done. First there is a BaseCommentForm that
 holds the most vital fields of the form ie content_type, object_pk,
 timestamp and security hash. Then a second form called MetaCommentForm
 (that is a subclass of BaseCommentForm)(please change the name of
 MetaCommentForm if it sounds confusing) that holds the name, email, url
 etc fields. Then a third form called CommentForm (a subclass of
 MetaCommentForm) that holds the honeypot.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9958#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to