unique_together needs to be in the inner Meta class. 

But your model structure doesn't seem to make sense. Why have two ForeignKeys 
From Members to Intro? That means that a member could point to different 
entries for village and household number, which can't be right. The usual thing 
to do is to have a single FK, and access eg member.intro.village and 
member.intro.household. 
-- 
DR. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/p9s9ur6kB5wJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to