Web App Example
2. web_app
- Same steps as 1-8 in 01_web_page , substituting
pages
forapp
- Let's edit the view this time. Note that template variables are just python dictionaries.
- Also edit the template.
- Create a new template and view function:
dynamic.html
. - Add a
<form>
to this template using django forms - Don't forget about
csrf
!