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
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
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(...
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
4 matches
Mail list logo