Hi,
I have 2 pages. My first page has a form( simple html form) with 3 fields.I
want to display the data entered in first page ,to second page. I am a
beginner with Django framework, Somebody please help me to solve this. I
will post my 'VIEW' n 'html file for the first page ' here.
VIEW:
def index(request):
return render_to_response("page1.html")
def result(request):
return render_to_response("page2.html")
HTML code for form:
<form action="/result" method="GET">
Petrol Bunk:<input type="text" name="petrol"><br><br>
Lattitude : <input type="text" name="latitude"><br><br>
Longitude: <input type="text" name="longitude"><br><br>
<input type="submit"name="st" />
</form>
Somebody please give me a reply.
--
Regards,
Rav!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.