Re: select multiple without using foreignkey

2010-06-18 Thread HARRY POTTRER
> Ages ago I wrote asnippetwith a model field and form field to deal > with this. It should still work. See:http://djangosnippets.org/snippets/1200/ > -- > DR. I'm using this snippet like so: MONTHS = [ (1, "January"), (2, "February"), (3, "March"),

Re: select multiple without using foreignkey

2010-06-08 Thread Tom Evans
On Wed, Jun 2, 2010 at 3:16 PM, Daniel Roseman wrote: > On Jun 2, 2:00 am, HARRY POTTRER wrote: >> I have a models that represents an event. >> >> I want it to have a field that represents the days of the week that >> the event occurs. This is easy if all you need to be able to do is be >> able t

Re: select multiple without using foreignkey

2010-06-02 Thread Daniel Roseman
On Jun 2, 2:00 am, HARRY POTTRER wrote: > I have a models that represents an event. > > I want it to have a field that represents the days of the week that > the event occurs. This is easy if all you need to be able to do is be > able to select one day, but if you want to select multiple, the righ

Re: select multiple without using foreignkey

2010-06-02 Thread derek
On Jun 2, 3:00 am, HARRY POTTRER wrote: > I have a models that represents an event. > > I want it to have a field that represents the days of the week that > the event occurs. This is easy if all you need to be able to do is be > able to select one day, but if you want to select multiple, the righ

select multiple without using foreignkey

2010-06-01 Thread HARRY POTTRER
I have a models that represents an event. I want it to have a field that represents the days of the week that the event occurs. This is easy if all you need to be able to do is be able to select one day, but if you want to select multiple, the right way seems to be to create a DayOfWeek object, cr