Hello everyone,

I have a question about the model interaction between different django 
apps. In my project I have an app called *userprofile* containing my 
*UserProfile* model. In another app I have an *Object* model, which of 
course should have an owner. My idea is to give the *Object* class a field:

*owner = models.ForeignKey(Userprofile)*

but the import:

*from mysite.userprofile.models import UserProfile*

*fails*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/15ac9e1c-20a5-4a8c-a68b-6c05eefb6d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to