December 2016
Beginner to intermediate
694 pages
14h 2m
English
In the previous chapter, I explained how to set up a Django project and run the Django development server. In this chapter, you'll learn the basics of creating dynamic web pages with Django.
As our first goal, let's create a web page that outputs that famous example message: Hello World. If you were publishing a simple Hello World web page without a web framework, you'd simply type Hello world into a text file, call it hello.html, and upload it to a directory on a web server somewhere. Notice in that process you've specified two key pieces of information about that web page: its contents (the string Hello world) and its URL (for example, http://www.example.com/hello.html
Read now
Unlock full access