Django Exercises
Test your Django skills with exercises from all categories:
Exercises
Tip: Sign in to track your progress - it's free.
Introduction3 exercises
Get started3 exercises
Virtual Environment3 exercises
Installing Django3 exercises
Creating Project3 exercises
Creating Django App3 exercises
Views3 exercises
URLs3 exercises
Templates3 exercises
Models4 exercises
Insert Data3 exercises
Delete Data3 exercises
Update Model3 exercises
404 Template3 exercises
Admin Create User3 exercises
Admin Include Models3 exercises
Variables3 exercises
Querysets3 exercises
Queryset Get Data3 exercises
Filter Querysets3 exercises
Sort Querysets3 exercises
Static Files3 exercises
Collect Static Files3 exercises
Global Static Files3 exercises
Add CSS File3 exercises
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 category. 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.