Django Exercises
Exercises
Test your Django skills with exercises from all categories:
Introduction
Get started
Virtual Environment
Installing Django
Creating Project
Creating Django App
Views
URLs
Templates
Models
Insert Data
Delete Data
Update Model
404 Template
Admin Create User
Admin Include Models
Variables
The If Tag
The For Tag
The Comment Tag
Include
Querysets
Queryset Get Data
Filter Querysets
Sort Querysets
Static Files
Collect Static Files
Global Static Files
Add CSS File
Log in to track your progress
If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.
As a logged on W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more.
The Exercise
The exercises are a mix of "multiple choice" and "fill in the blanks" questions. There are between 3 and 9 questions in each catergory. The answer can be found in the corresponding tutorial chapter. If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer.
If you don't know Django, we suggest that you read our Django Tutorial from scratch.