Django 1.5 foreign key dependency