On 16/06/2011 10:43, Kenneth Gonsalves wrote:
> On Thu, 2011-06-16 at 10:10 +0200, Benedict Verheyen wrote:
>> user = models.ForeignKey(User, unique=True)
> 
> you need onetoone for this to work.

Hi,

Actually, I've read that ForeignKey is now the way to specify it.
Anyway, the problem has been solved as Jari pointed out that
I didn't specify the correct app name in my model.

Thanks,
Benedict


-- 
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.

Reply via email to