At what point in a modelform's lifecycle does the underlying object
become accessible? Specifically, can I access the underlying object in
a modelform's "clean" method?  Or is it only after one does form.save
() with or without commit = False?

I basically need to do some custom validation and need to access the
object's pk attribute in "clean". Can this be done?

Regards,
CM.

--

You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.


Reply via email to