Re: Django Models Foreign Key Issue!

2012-05-29 Thread Eugène Ngontang
Hi all! The issue was not from Django side, but really from my models implementation. I made mistake when propagating my associative tables through other tables. And there was another unity constraint blocking the one i wanted to set. I don't think it's necessary to explain you all here, because

Django Models Foreign Key Issue!

2012-05-28 Thread Eugene NGONTANG
I encountered a problem using Django foreign key unique_together for one of my models. I have three models (representing three tables in the database), host, user, and job. - user has a host foreign key - job has a user foreign key and a host foreign key : Because we can have the same user on two