Django for Beginners / Chapter 1 — Getting started and rendering pages (lessons 1–5) / Lesson 1
The shape of Django and setting up
Time needed: about 3 min (estimate)
Reading settings
These settings are remembered on this device only.
You can try the opening of this lesson without an account.
What Django takes off your hands
Django is a Python framework that ships with the parts every website needs from the start.
Database access (with almost no SQL to write), an admin site, user authentication and security measures (CSRF, SQL injection, XSS) all come as standard.
Flask, also in Python, is designed to provide the bare minimum and let you choose the rest yourself.
Neither is better; the difference is that having it all up front means more to learn, but is faster once you know what you are building.
This course is 20 lessons rather than 50, and builds one blog app all the way through.
Keeping the virtual environment to this project
Create a free account to keep reading
With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.
Report a problem with this lesson
Log in to send a report.