Is it possible for two apps to import from each others models? Lets
say I have two apps, articles and photos:

App articles:
from mysite.photos.models import photo

class topics:
class articles
with a ManytoManyKey to photos

App photos:
from mysite.articles.models import topics

class photos
with a ForeignKey to topics

this will return errors importing errors, but if you take out either
of the relations then it imports fine. Is there any way to do
something like this, or for this to work does everything have to be in
the same app?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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