← All tutorials

Skill Zuno · skillzunos.com · Fullstack

Django tutorial

Learn Django on Skill Zuno. This Django tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical Django problems on skillzunos.com.

Open Django on Skill Zuno

Also see the Django interview questions.

Django is a batteries-included Python web framework that follows the model-template-view pattern. It ships with an ORM, migrations, an admin site, authentication, forms and strong security defaults. Django interviews cover models and the ORM, query optimisation, views, middleware, signals, Django REST Framework and deployment.

Django topics covered

  • Projects, apps and settings — How a Django project is split into apps, and organising settings per environment.
  • Models, fields, relationships and migrations — Defining data as Python classes, and evolving the schema safely with migrations.
  • The ORM: QuerySets, lazy evaluation and lookups — Building queries with filter, exclude, annotate and aggregate, and when they actually run.
  • select_related, prefetch_related and the N+1 problem — Spotting and fixing extra queries caused by related objects.
  • Function-based and class-based views — Handling requests with functions or reusable generic views.
  • Templates, forms and the admin site — Rendering HTML, validating input, and the free admin interface.
  • Middleware, signals and authentication — Hooking into requests, reacting to model events, and the built-in user system.
  • APIs with Django REST Framework — Building REST APIs with serializers, viewsets and permissions.

What you can learn

  • Django tutorial for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • Fullstack topics alongside Django on skillzunos.com

More Fullstack tutorials

All tutorials