Re: 'ManyToManyField' attribute error

2006-06-07 Thread Mikeal Rogers
Thanks, that clears things up. I thought that if I sent it as a string rather than the class I could wait to define it until later. -Mikeal On Jun 7, 2006, at 8:30 PM, Malcolm Tredinnick wrote: > > Hi Mikael, > > On Wed, 2006-06-07 at 19:41 -0700, Mikeal Rogers wrote: >> Sure, Here you go, >>

Re: 'ManyToManyField' attribute error

2006-06-07 Thread Malcolm Tredinnick
Hi Mikael, On Wed, 2006-06-07 at 19:41 -0700, Mikeal Rogers wrote: > Sure, Here you go, > > class BItem(models.Model): > > #Date stuff > created_on = models.DateTimeField(auto_now_add=True) > last_edited_on = models.DateTimeField(auto_now=True) > #Last Edited By > last_

Re: 'ManyToManyField' attribute error

2006-06-07 Thread Mikeal Rogers
Sure, Here you go, class BItem(models.Model): #Date stuff created_on = models.DateTimeField(auto_now_add=True) last_edited_on = models.DateTimeField(auto_now=True) #Last Edited By last_edited_by = models.ForeignKey(User) #B information name = models.CharField(

Re: 'ManyToManyField' attribute error

2006-06-07 Thread Malcolm Tredinnick
Hi Mikeal, On Wed, 2006-06-07 at 19:17 -0700, Mikeal Rogers wrote: > Hiya, > > I'm using the django trunk and tried to generate the SQL for a model > I just wrote and got the following traceback; > > execute_manager(settings) >File "/Library/Frameworks/Python.framework/Versions/2.4/l

'ManyToManyField' attribute error

2006-06-07 Thread Mikeal Rogers
Hiya, I'm using the django trunk and tried to generate the SQL for a model I just wrote and got the following traceback; execute_manager(settings) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/django/core/management.py", line 1255, in execute_m