Previous Page Next Page

Exercises

1.Create a view function in the iFriends/People/views.py file that creates a Form instance for a Blog object.
2.Create an HTML template in the iFriends/templates/People directory that displays the Blog form you created in Exercise 1. Add a render_to_response() call to the view function to render the view to the new template.
3.Add an entry to the URLconf file to enable the Blog view to be accessed from a web browser.

Previous Page Next Page