Table of Contents
Preface
1
An Introduction to Django
Technical requirements
Scaffolding a Django project and app
Exercise 1.01 – creating a project and app, and starting the development server
Understanding the model-view-template paradigm
Models
Views
Templates
MVT in practice
An introduction to HTTP
Processing a request
Exploring the Django project structure
The myproject directory
Django development server
Django apps
PyCharm setup
Exercise 1.02 – project setup in PyCharm
Introducing Django views
Exploring URL mapping detail
Exercise 1.03 – writing a view and mapping a URL to it
Working with GET, POST, and QueryDict objects
Exercise 1.04 – exploring GET values and QueryDict objects
Exploring Django settings
Referring to Django Settings in ...
Get Web Development with Django - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.