- 55lessons
- 3guided projects
- 9module checkpoints
- 0.8hours of video
What you'll learn
- Create a Django 5.2 LTS project with apps, environment-driven settings and a repeatable check/test command.
- Model data, write and review migrations (including a reversible data migration) and read the SQL they run.
- Route URLs by name and build function and class-based views with safely escaped templates.
- Validate input with forms and ModelForms and apply Post/Redirect/Get with CSRF protection.
- Authenticate users, protect views, apply model and owner-level permissions, and configure the admin.
Skills you'll gain
- Django project structure
- Models
- migrations
- Views URLs
- templates
- Forms
- validation
- Authentication
- permissions
- REST serializers
- views
- Queries
- performance
- Testing
Tools you'll use
- Python
- Django
- Django REST framework
Details to know
- Certificate on completionIssued after your final project is reviewed
- 9 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Deskly ticket pages
Covers Django project structure, Models and migrations and Views URLs and templates.
You build: Guided project: Deskly project with registered tickets app, environment-driven settings and a passing test run.
- 02
Modules 4 to 5
Deskly forms, sign-in and ownership
Covers Forms and validation and Authentication and permissions.
You build: Guided project: Validated ticket creation form with Post/Redirect/Get and CSRF test.
- 03
Modules 6 to 8
Deskly REST API with budgets
Covers REST serializers and views, Queries and performance and Testing.
You build: Guided project: Ticket API with serializer validation, viewset, permissions, owner scoping and pagination. List endpoints with fixed query budgets and an index on status.
- 04
Module 9
Final project and assessment
Covers Application deployment lab, then the final project: Django web application and REST API with verified permissions.
You build: Final project, one of: Helpdesk web application and REST API / Equipment-lending desk web application and REST API / Event registration web application and REST API.
Full curriculum
9 modules and 55 lessons, 30 to 52 hours of study
01Django project structure5 lessons, 2 to 4 hours
Lessons
- Following one request from WSGI to a view
- Reading what startproject generates
- Creating an app and registering it
- Environment-aware settings: SECRET_KEY, DEBUG and DATABASES
- Running system checks and the test runner
After this module you can
- Trace a GET request through the WSGI handler, middleware, ROOT_URLCONF and a view, and name the file responsible for each hop.
- Name the role of manage.py, settings.py, urls.py, asgi.py and wsgi.py in a freshly generated project and run the command that creates them.
- Run manage.py check and manage.py test, and interpret a failing check or test line and the exit code.
02Models and migrations7 lessons, 3 to 5 hours
Lessons
- Defining a model with typed fields
- Field options: null, blank, default, choices and unique
- The migration lifecycle: makemigrations and migrate
- Inspecting migration SQL and plans
- Relating rows with ForeignKey and on_delete
- Many-to-many relations and through models
- Evolving a schema with a reversible data migration
After this module you can
- Write a model with CharField, IntegerField, BooleanField and DateTimeField and create and fetch a row in a test.
- Choose between null and blank, set defaults and choices, and predict validation versus database behaviour.
- Write a RunPython migration with a reverse function using historical models.
03Views URLs and templates6 lessons, 3 to 4 hours
Lessons
- URL patterns, converters and include() prefixes
- Naming URLs and reversing them
- Function views, responses and 404 handling
- Class-based views: ListView and DetailView
- The template language: variables, filters, tags and autoescape
- Template inheritance and includes
After this module you can
- Write path() routes with typed converters and mount an app's URLconf with include(), predicting which pattern matches.
- Use reverse() and the {% url %} tag instead of hard-coded paths and explain why names survive prefix changes.
- Build a base template with blocks, extend it in child templates and include reusable fragments.
04Forms and validation5 lessons, 2 to 4 hours
Lessons
- Form classes, fields and binding data
- The field validation pipeline and error codes
- Field-level clean_<field> and cross-field clean()
- ModelForm: forms generated from models
- Rendering forms, showing errors and Post/Redirect/Get
After this module you can
- Define a Form with typed fields, bind POST data and read cleaned_data after is_valid().
- Predict the order of to_python, validate, run_validators, clean_<field> and clean(), and read ValidationError codes.
- Render a form with errors in a template and redirect after a successful POST.
05Authentication and permissions6 lessons, 3 to 4 hours
Lessons
- Users, password hashing and create_user
- Logging in and out with authenticate, login and LoginView
- Protecting views with login_required and LoginRequiredMixin
- Model permissions and the permission_required check
- Object-level ownership: scoping querysets by request.user
- The admin site and a tested authorisation matrix
After this module you can
- Create users with create_user, check passwords with check_password and explain why raw password assignment is wrong.
- Authenticate credentials and manage the session with login/logout views and LOGIN_URL.
- Register models with ModelAdmin options and verify admin access rules with the test client.
06REST serializers and views7 lessons, 3 to 5 hours
Lessons
- DRF setup and the APIView request/response cycle
- ModelSerializer and explicit field lists
- Validation in serializers and the 400 error shape
- ModelViewSet, routers and the full CRUD surface
- Permission classes: view-level and object-level checks
- Per-user querysets and perform_create
- Pagination, PATCH semantics and a documented error contract
After this module you can
- Install djangorestframework, add rest_framework to INSTALLED_APPS and return a Response from an APIView, observing content negotiation and status codes.
- Serialize and deserialize a model with ModelSerializer using an explicit Meta.fields list.
- Configure PageNumberPagination, observe count/next/previous/results, and compare PUT with PATCH.
07Queries and performance7 lessons, 3 to 5 hours
Lessons
- QuerySet laziness and result caching
- Filtering with lookups, Q objects and ordering
- Spotting and fixing N+1 queries with select_related
- prefetch_related and Prefetch with to_attr
- annotate, Count and values for reporting
- Cheaper reads: exists, count, only and defer
- Indexes, constraints and reading the query plan
After this module you can
- Predict when a QuerySet hits the database and when a cached result is reused.
- Write filters using field lookups, relationship traversal, Q objects and order_by, and predict the returned rows.
- Add db_index or Meta.indexes for a filtered column and inspect the plan with explain().
08Testing6 lessons, 3 to 4 hours
Lessons
- TestCase isolation, setUpTestData and test selection
- Testing views with the test Client
- Testing POST forms, redirects and CSRF
- Testing migrations and model rules as gates
- Testing the API with APIClient and force_authenticate
- Permission matrices and query-count budgets together
After this module you can
- Explain per-test transaction rollback and use setUpTestData for class-level data, running a subset.
- Assert status, context, templates and content for GET views using django.test.Client.
- Combine actors x actions tables, override_settings and assertNumQueries into a regression suite.
09Application deployment lab6 lessons, 3 to 4 hours
Lessons
- Production settings from the environment
- Running check --deploy and fail levels
- Static files and collectstatic
- Database safety: migrations, backups and connection reuse
- Error handling, logging and the WSGI entry point
- Capstone release rehearsal: a single gate script
After this module you can
- Switch the project to production-safe values with environment variables and a deploy settings module.
- Run manage.py check --deploy and interpret warnings, then raise the exit status with --fail-level.
- Run the release gate commands in order and record evidence: check, check --deploy, makemigrations --check, migrate --plan, test.
What you'll build
3 guided projects along the way, then a final project.
Deskly ticket pages
after module 3Deskly forms, sign-in and ownership
after module 5Deskly REST API with budgets
after module 8
Final project
Django web application and REST API with verified permissions. Options: Helpdesk web application and REST API / Equipment-lending desk web application and REST API / Event registration web application and REST API.
What you submit
Source repository or archive plus a README with exact setup commands for Python 3.10+, Django 5.2 LTS and DRF (pinned in requirements.txt). Functional checks: python manage.py test passes, covering views, forms, API and a permission matrix.
How it's reviewed
Trainer-reviewed demonstration. Score each of: correctness of models/migrations view and template safety (escaping, CSRF) form/serializer validation authorisation (anonymous, owner, other, staff) proven by tests query efficiency evidence.
Where you'll use it
- Add a validated form and owner-only permissions to an internal ticket tool.
- Expose a paginated, owner-scoped REST endpoint and cover it with tests.
Roles that use these skills
- Python Developer
- Backend Developer
- Full-Stack Developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What do I need before starting?
Prerequisites per the catalog: Python fundamentals, REST API Design concepts and the database/HTTP skills in the earlier course. Diagnostic check before starting: write a Python class with methods and a dictionary comprehension, explain what an HTTP GET versus POST and status codes 200/301/404 mean, and write one SQL SELECT with a WHERE and a JOIN.
When do I get a certificate?
We do not issue certificates until you successfully build and demonstrate your live project. Staff issue certificates after review; nothing is issued automatically.
Be first in when Django Web and API Development opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens


