Example input form: <h1>Registration</h1> <form> <h2>Workshop on building trains!</h2> Please choose date: <SELECT MULTIPLE SIZE=3> <OPTION VALUE="o1">May 22, 2008 <OPTION VALUE="o2">April 12, 2009 <OPTION VALUE="o3">May 32, 2009 </SELECT>
<h2>Workshop for Programmers!</h2> Please choose date: <SELECT MULTIPLE SIZE=3> <OPTION VALUE="o1">May 12, 2008 <OPTION VALUE="o2">April 13, 2009 <OPTION VALUE="o3">May 11, 2009 </SELECT> <input type="submit"> </form> On Jun 1, 10:41 am, Drozzy <[EMAIL PROTECTED]> wrote: > Hello Dear djangoists, > I am new to this mailing list - so just wanted to say hi first! I am > also new to django - but I chose it for the > > My question is this, I have 2 models: > Workshop( title, description, fee) > Event( workshop = models.ForeignKey(Workshop), start_date, end_date) > > The idea is that Workshops are created and they can be held multiple > times as Events. Users just sign up for an event. > > However the trick is that I need to provide ONE Registration page that > lists all workshops and their respective events. Additional > requirement is that only the Events that start before today must be > shown. > > The problem I am having is with the creation of the custom form. > > I looked at these resources, but found them not very > relevant:http://www.pointy-stick.com/blog/2008/01/06/django-tip-complex-forms/http://collingrady.wordpress.com/2008/02/18/editing-multiple-objects-...http://www.djangoproject.com/documentation/0.96/models/model_forms/ > > Thanks! > If anyone could help me out that would be great. Also if you are in > Toronto area maybe I could give you a call... yeah I know I am > desperate, the deadline is looming. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---