How to Create a Web Page with Django?

  • Three stages:
    1. URLs: A URL pattern describes the way the URL is laid out and tells Django what to look for when matching a browser request with a URL site. Each URL maps to a particular view.

    2. Views: The view function retrieves and processes the data needed for that page. It will often call a template.

    3. Templates: The template builds a page that a browser can read.