I am a bit confused as to why it is that this gives me an error. I
hope someone could explain it to me.

Let's say I have users with Profiles that can be connected to the one
Web page that they can author. The other Users can bookmark that page.
So my models look like this:

profiles.models.py

from bookmarks.models import Bookmark

class Profile(models.Model):
...bookmarks = models.ManyToManyField(Webpage)

################
bookmarks.models.py

from profiles.models import Profile
...author = models.ForeignKey(Profile)



I get an import error when I try to validate this. I realize that
there is a little of cross referencing occurring, but I really cannot
think of a better way to accomplish this. Any ideas?

Thanks, Michael Newman
--~--~---------~--~----~------------~-------~--~----~
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