Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Django’s generic views can be a powerful tool for rapid development and prototyping.
- Don’t be fooled by the name though. Generic views are not just temporary scaffolding.
- Newcomers to Django can be forgiven for thinking the name must refer to some sort of
- default template for displaying your data, but the reality is quite different. Remember, a
- Django view is Python code that accepts an HttpRequest and returns an HttpResponse.
- The design of the data objects passed to that view, and the template used to render that
- response,are completely up to you.
- In this section, we walk through a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement