Re: Adding manytomany field, like "days of the week".

2013-04-09 Thread Mark London
Thanks for the response. I had read about fixtures, but then people were saying that fixtures wasn't the best way to initialize the model, but they didn't give the alternative! Next time, I won't listen to opinions, but will use code that actually works. - Mark -- You received this message

Re: Adding manytomany field, like "days of the week".

2013-04-09 Thread Tom Evans
On Tue, Apr 9, 2013 at 1:57 PM, Tom Evans wrote: > On Tue, Apr 9, 2013 at 1:38 PM, Mark London wrote: >> Hi - I'm a django newbie, so sorry if I'm doing something stupid (I did try >> to read the documentation. >> >> I want to have a model, that has a manytomany field that stores days of the >> w

Re: Adding manytomany field, like "days of the week".

2013-04-09 Thread Tom Evans
On Tue, Apr 9, 2013 at 1:38 PM, Mark London wrote: > Hi - I'm a django newbie, so sorry if I'm doing something stupid (I did try > to read the documentation. > > I want to have a model, that has a manytomany field that stores days of the > week, selected via a checkbox widget. I read on the web,

Adding manytomany field, like "days of the week".

2013-04-09 Thread Mark London
Hi - I'm a django newbie, so sorry if I'm doing something stupid (I did try to read the documentation. I want to have a model, that has a manytomany field that stores days of the week, selected via a checkbox widget. I read on the web, that I could put something like this in the model. DAYS_O