Re: custom form in admin debugging confusion

2009-03-30 Thread Rajesh Dhawan
felix wrote: > class ContactAdmin(Admin): > > form = EditContactForm > > > EditContactForm has a save method that is never called by the Admin > > but its clean() function does get called > > 60 def clean(self): > 61 import pdb; pdb.set_trace() > > my confusion is that

custom form in admin debugging confusion

2009-03-29 Thread felix
class ContactAdmin(Admin): form = EditContactForm EditContactForm has a save method that is never called by the Admin but its clean() function does get called 60 def clean(self): 61 import pdb; pdb.set_trace() my confusion is that due to the snakey admin code the fo