I'm having a problem trying to figure something out - I'll give an example of what I'm trying to do. I have a base model "Person" that stores generic info on a person. For this "Person" model, I have a form that I use when I don't know what type of person the user is. It serves as a generic form to collect info on a person. I also have another model "Teacher" that has fields only relevant to a Teacher and has a Foreign key reference to the "Person" model. To get information on a teacher, I use two forms - "Person" and "Teacher". I'm running into a situation where I need to do cross validation and I can't figure out how to do this. For instance, when the person is under 25 years of age, I need to make sure the teacher has 3+ years of experience. I need to get cleaned data from one form into the other. Creating one model will mean a lot of duplicate information, which is why I'm using inheritance in the first place.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

