Re: How to send a form value from a template to a view , both in different apps ?

2011-06-23 Thread Satyajit Sarangi
l "how do I" questions. Those questions should be >directed to django-users. >Yours, >Russ Magee %-) On Fri, Jun 24, 2011 at 8:17 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > On Fri, Jun 24, 2011 at 10:27 AM, Satyajit Sarangi > wrote: > > This

How to send a form value from a template to a view , both in different apps ?

2011-06-23 Thread Satyajit Sarangi
This is my views.py def map_display(request): if request.method == 'POST': form = DispForm(request.POST) if form.is_valid(): this_user = request.user user1= this_user.pk LName = form.cleaned

What should be a forms.py and views.py be like for a template that has radio buttons ?

2011-06-12 Thread Satyajit Sarangi
My template has radio buttons . I would like to know what exactly be there in forms.py to render this template in the views ? This is my tempalte Username: Who can view the data Any registered users Only users that can edit Who can edit the data Any registered user Only the fol