Using form manipulator for data in multiple models

2006-08-02 Thread Mikeal Rogers
Hiya, In nearly every POST i get the data needs to be broken up and either modify or create more than one model. I was hoping to still be able to use the model manipulators for this but all the documentation seems to be very single form/post == single model manipulation. I'm wondering if

admin ordering question

2006-06-21 Thread Mikeal Rogers
Hiya, Here is my issue I have a Model like this class Item(models.Model): name = models.Charfield(maxlength=100) user = models.ForeignKey(User) def get_user_name(self): return self.user.name class Admin: list_display = ('name',

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: >>

Re: 'ManyToManyField' attribute error

2006-06-07 Thread Mikeal Rogers
Tredinnick wrote: > > 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_m

'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