Hi

I need to do custom validation to make sure that a new record does not
pick the same title as a previous record. Therefore in my overriden
clean method in my custom Form (which extends ModelForm) I need to be
able to do either of the following:
# access the session, where the parent object is saved
# access the POST request object to access session, to do the same as
above
# access the model instance, to get to the parent

How can I do this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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