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
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
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
3 matches
Mail list logo