Re: self referential manytomany

2008-02-22 Thread Michael Newman
I was afraid of that. Thanks Malcolm. On Feb 22, 4:10 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-21 at 08:44 -0800, Michael Newman wrote: > > 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

Re: self referential manytomany

2008-02-22 Thread Malcolm Tredinnick
On Thu, 2008-02-21 at 08:44 -0800, Michael Newman wrote: > 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 book

Re: self referential manytomany

2008-02-22 Thread Michael Newman
I am still having this problem. The simple solution is to put all of the Models together, but I would prefer not to do this. I am pretty sure that I have done this before. Is this something that has broken recently in Django? On Feb 21, 12:53 pm, Michael Newman <[EMAIL PROTECTED]> wrote: > vali

Re: self referential manytomany

2008-02-21 Thread Michael Newman
validation meaning python manage.py validate and python manage.py syncdb. I really don't know what is messing up other than the fact that module has a circular load. I have no idea to fix this one. Thanks Evert for your help. Anyone else? On Feb 21, 12:44 pm, Evert Rol <[EMAIL PROTECTED]> wrote:

Re: self referential manytomany

2008-02-21 Thread Evert Rol
> That would be true if I defined both models in the same models.py, and > Profile was trying to use Bookmark before it was loaded in the file. > Because this is an import the quotes won't work. That being said this > in one model works when I don't need to put a import statement in it. > So: > >

Re: self referential manytomany

2008-02-21 Thread Michael Newman
That would be true if I defined both models in the same models.py, and Profile was trying to use Bookmark before it was loaded in the file. Because this is an import the quotes won't work. That being said this in one model works when I don't need to put a import statement in it. So: profiles/mode

Re: self referential manytomany

2008-02-21 Thread Evert Rol
On 21 Feb 2008, at 16:44 , Michael Newman wrote: > > 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 t

self referential manytomany

2008-02-21 Thread Michael Newman
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 fr