Re: Admin select multiple ?

2006-08-24 Thread [EMAIL PROTECTED]
Jacob Kaplan-Moss wrote: > No, there's no way to do this with ``choices``. I'd suggest just > using a ``ManyToManyField`` instead. > > Jacob Yes thats what I ended up doing, and it works great. Some times it feels silly to have such a simple model :) classBedroom(models.Model): number

Re: Admin select multiple ?

2006-08-23 Thread Jacob Kaplan-Moss
On Aug 23, 2006, at 5:12 PM, [EMAIL PROTECTED] wrote: > Maybe I missed this in the docs but... Is there any way to specify a > model that uses choices so that the user can select multiple items? Hey Jay -- No, there's no way to do this with ``choices``. I'd suggest just using a ``ManyToManyFi

Admin select multiple ?

2006-08-23 Thread [EMAIL PROTECTED]
Maybe I missed this in the docs but... Is there any way to specify a model that uses choices so that the user can select multiple items? For example: BEDROOMS = ( ('1', '1'), ('2', '2'), ('3', '3'), ('4', '4'), ('5', '5'), ('6', '6'), ) class ApartmentBuilding(models.Mode