Re: Trying to simplify the last post

2011-08-09 Thread Daniel Roseman
On Tuesday, 9 August 2011 12:09:08 UTC+1, vanderkerkoff wrote: > > Hello there > > I'm trying to make this as easy as possible, but it's pretty > complicated. > > Here's my form > > > > As you can see I've hard coded the id of the event into this section > > data = Workshop.objects.filter(

Trying to simplify the last post

2011-08-09 Thread vanderkerkoff
Hello there I'm trying to make this as easy as possible, but it's pretty complicated. Here's my form class EventBookForm(ModelForm): """A form for governors to email to govwales with details of which events they wish to attend""" title = CharField() firstname = CharField(