Re: ajax cascading select boxes

2009-05-11 Thread google torp
Using AJAX in python/django is not much different than any other tech. You choose an url, maybe just your form url and then you make your normal javascript function that will post data to the url. In the view you can check for is_ajax(). This will enable you to catch all ajax requests and serve js

Re: ajax cascading select boxes

2009-05-11 Thread newbie
First of all, thanks for the reply :) On May 11, 11:59 am, google torp wrote: > So CustomUser and UserDetails  is a model you made for your > users? If that is the case, you probably want to hook use a > modelform instead is it makes things a bit eaiser. > yup. Those two were created by me for

Re: ajax cascading select boxes

2009-05-10 Thread google torp
So CustomUser and UserDetails is a model you made for your users? If that is the case, you probably want to hook use a modelform instead is it makes things a bit eaiser. Anyways in your view, the user just pops out of the blue. My guess is that you need to do something like user = CustomUser(...

ajax cascading select boxes

2009-05-10 Thread newbie
Hi, I'm a newbie to Django. I have a form which has some attributes to be filled by the user viz., name, age, address etc. I want to get the address of the user by just allowing him making the selections rather than letting him fill it. I'm planning to give him a select box for stat