Django for ISchoolers: Difference between revisions

imported>Aldeka
imported>Aldeka
Line 1,054:
===Create the form===
 
Recall that the prototype spec allows users to add answers to questions. We are going to use a form for that functionality. As an alternative, we could have used AJAX Requests, a special url (‘/polls/11/choice/3/upvote’) or some other mechanism.
 
* Update our question detail template (qandabear/detail.html) to contain an HTML <form> element:
Line 1,101:
* Review your work at [http://127.0.0.1:8000/questions/1/ http://127.0.0.1:8000/questions/1/] .
* Save and commit.
 
 
===Process the form===
Anonymous user