1.5 Django: Python Web Framework

As outlined in Section 1.3, a website must always

1. Receive an HTTP request (the user asks for a webpage)

2. Process the request

3. Return the requested information as an HTTP response (the user sees the webpage)

Django is a free and open-source Python back-end web framework that removes the tedium of building websites by providing most of the required behavior. Django handles the majority of the HTTP request and response cycle (the rest is handled by the server Django runs on top of). Developers need only focus on processing the HTTP request, and Django provides tools to make even that easy.

All Django projects are organized in the same way, largely because of the framework’s inversion of control but also because ...

Get Django Unleashed 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.