Re: PySchool - Online Python Web Framework Workshop.

2006-11-07 Thread Spider
Question 2 says "select all that apply", but you have radio buttons not check boxes, so only one option can be selected. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Best way for multiple selectable options

2006-10-04 Thread Spider
Thanks Malcolm that's a nice approach. --~--~-~--~~~---~--~~ 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 em

Best way for multiple selectable options

2006-09-29 Thread Spider
My application allows the user to select one or more days of the week to apply to the current item. My model looks like applys_Mon = models.BooleanField("Mon") applys_Tue = models.BooleanField("Tue") applys_Wed = models.BooleanField("Wed") applys_Thu = models.BooleanField("Thu")

Re: Lost in forms

2006-07-25 Thread Spider
toth anna wrote: > I have lost in form processing while learning django. > I need to create a simple object (say 'product') with some > basic validation (required fields, +minimal logic), but > after filling a form and submit it everything looks ok but > the object does not get saved and nothing i

Is this a misuse of SlugField?

2006-07-24 Thread Spider
In the Django tutorial, the URL to display a specific poll is something like polls/, when the is an incrementing number 1,2,3 ... etc. This means the user can easily guess a and manually contruct the URL for it. I'd like to make this more difficult by having the a random string of letters and

Re: Template error "Could not parse the remainder"

2006-07-12 Thread Spider
Thanks to those who replied; removing the () as suggested worked. --~--~-~--~~~---~--~~ 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 unsubscri

Template error "Could not parse the remainder"

2006-07-12 Thread Spider
I have this loop in a template : {% for s in p.schedule_set.all() %} The template engine complains with "Could not parse the remainder: ()" Here p is a Plan object instance. Schedule has Plan as a many-to-one foreign key (each Plan has 1 or more Schedules). What I want is to loop through all

Re: Update form for nested one-to-many

2006-07-07 Thread Spider
I just noticed ticket #2107 "Adding an object and several related objects at once with manipulators isn't documented." That sounds like what I want, although I'm now leaning towards just writing the code. --~--~-~--~~~---~--~~ You received this message because you

Re: Update form for nested one-to-many

2006-07-07 Thread Spider
Additional information : I'm using the development version of django (from the svn repository). --~--~-~--~~~---~--~~ 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

Update form for nested one-to-many

2006-07-07 Thread Spider
I've just started using Django (and I'm very impressed), but I'm not sure of the "official" way to handle updates for my latest application, which records a timetable of regular visits by a person to somewhere. The structure (somewhat simplified) is : A VISIT has a start time and and end time (bu

Conceptual difference between a project and an application

2006-07-04 Thread Spider
Can someone explan to me the underlying concept behind the distinction between django "projects" and "applications"? I know that an application is part of a project, and it's many-to-many, so an app can be part of more than one project, and a project can contain more than one app. But what to pro

Re: django problem at dreamhost

2006-02-24 Thread Spider
Derek, what Linux distribution are your running at rimuhosting.com? I'm about to sign up with them myself. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema