Re: Missing attribute on User

2009-11-23 Thread Daniel Roseman
On Nov 23, 8:34 am, Hanne Moa wrote: > On Mon, Nov 23, 2009 at 00:46, Russell Keith-Magee > > > > > > wrote: > > On Mon, Nov 23, 2009 at 1:59 AM, Hanne Moa wrote: > >> I have models M, N, which both have a foreignkey to User. When in the > >> shell/runserver, User has attributes for both M and N

Re: Missing attribute on User

2009-11-23 Thread Hanne Moa
On Mon, Nov 23, 2009 at 00:46, Russell Keith-Magee wrote: > On Mon, Nov 23, 2009 at 1:59 AM, Hanne Moa wrote: >> I have models M, N, which both have a foreignkey to User. When in the >> shell/runserver, User has attributes for both M and N, but in a >> batchfile ($ DJANGO_SETTINGS_MODULE=settings

Re: Missing attribute on User

2009-11-22 Thread Russell Keith-Magee
On Mon, Nov 23, 2009 at 1:59 AM, Hanne Moa wrote: > I have models M, N, which both have a foreignkey to User. When in the > shell/runserver, User has attributes for both M and N, but in a > batchfile ($ DJANGO_SETTINGS_MODULE=settings python batch.py) only M > is reachable from User while trying t