Menu
CoddyTech
NewJourney

Learn Django

A free, interactive Django course for Python programmers. Write views, templates and models, press Run and your site opens beside the editor in real Django 6.1, with AI hints and a certificate per section.

119 lessons119 challenges254 quiz questions

  • Beginner friendly
  • sparkles iconAI-assisted coding help
  • hint iconHands-on interactive lessons
  • volume On iconAudio narration on every lesson
  • quiz iconQuizzes to test your knowledge
  • certificate iconFree certificate of completion

Syllabus

6 sections31 projects119 lessons119 challenges254 quiz questions
  1. Start sectionStartExpandCollapseHow a Django site answers a request: projects and apps, views, URLs and templates. You build the website of a small café, page by page.

    Your First Django Site

    Project5 lessons510

    Dynamic URLs

    Project5 lessons510

    Templates

    Project6 lessons615

    Layouts and Static Files

    Project4 lessons410

    The Café Website

    3 lessons35
  2. Start sectionStartExpandCollapseStore data with models, query it with the ORM, show it on pages and manage it in Django's admin. You build a bookshelf.

    Your First Model

    Project6 lessons615

    Querying with the ORM

    6 lessons615

    Pages from the Database

    Project3 lessons35

    Relationships

    Project4 lessons48

    The Admin

    Project2 lessons25

    Project: Authors

    2 lessons24
  3. Start sectionStartExpandCollapseTake input from visitors safely: search forms, POST forms and CSRF, Django forms, validation and ModelForms. You build an events board with RSVPs.

    HTML Forms

    Project4 lessons48

    Django Forms

    Project7 lessons715

    ModelForms

    Project4 lessons410

    RSVPs

    Project2 lessons24

    Project: Guest List

    3 lessons35
  4. Start sectionStartExpandCollapseSign up, log in and log out, protect pages, and give every user their own data. You build a private notes app.

    Who Is Visiting

    Project5 lessons59

    Protecting Pages

    Project2 lessons25

    Your Own Data

    Project4 lessons410

    Staff and Permissions

    2 lessons24

    Project: Profile and Sharing

    3 lessons35
  5. Start sectionStartExpandCollapseWrite less code with Django's generic views: lists, details, create, update and delete, pagination and mixins. You build a job board.

    From Functions to Classes

    Project3 lessons35

    Generic Display Views

    Project4 lessons49

    Pagination

    Project2 lessons25

    Editing Views

    Project7 lessons715

    Project: Finish the Job Board

    2 lessons24
  6. Start sectionStartExpandCollapseTurn your models into a JSON API, accept JSON, return the right status codes, call it from JavaScript, and get a site ready to deploy. You build a task tracker.

    Your First JSON Endpoint

    Project3 lessons35

    Reading Requests

    Project5 lessons510

    Updating and Deleting

    Project3 lessons35

    Calling Your API

    Project3 lessons39

    Project: Sorting the Work

    3 lessons35

    Ready to Deploy

    Project2 lessons25
What you get
Everything you'll use to learn to code

Learn by Doing

Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.

playground.js
Code Editor
1const greeting = "Hello, Coddy!"
2function sayHi(name) {
3    return greeting + " " + name
4}
5
bottombar Collapse icon
Test #1test Case Success icon
Test #2test Case Success icon
Test #3test Case Failure icon
Input
"Alex"
Output
"Hello, Coddy! Alex"

Build Your Streak

Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.

12 days streak

Return tomorrow to keep your streak!

fire Filled icon
left icon

January 2026

right icon

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

21

22

23

24

25

26

27

28

29

30

product Double Or Nothing icon

Double or Nothing

Day 5 of 7

fire Freeze icon

Streak Freeze

2 left

You're Not Alone

Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!

Challenger League
Challenger LeagueTop 7 advance
leaderboard First icon1
avatar 1 icon
fire Filled icon
Alex7+ Days
2840
leaderboard Second icon2
avatar 2 icon
fire Filled icon
Jordan7+ Days
2650
leaderboard Third icon3
avatar 3 icon
fire Filled icon
Sam7+ Days
2420
4
avatar 4 icon
Casey
2180
5
avatar placeholder icon
fire Filled icon
Morgan7+ Days
1950
leaderboard Arrow Up iconPromotion zoneleaderboard Arrow Up icon

Every way to learn

Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.

Intro to Variables
Audio

A variable is a named container that stores a value you can reference later in your program.

In Python, you create one by writing the name, an equals sign, then the value you want to store.

The value can change over time. Reassigning the name simply points it to a new value.

1xSarah

Earn a Certificate

Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.

CoddyCertificate of Completion
This certifies thatJohn Doehas successfully completed
python iconPython Fundamentals
Verified
DateJan 2026
LinkedInAdd to LinkedIn

Why learn Django with Coddy

  • Your code and your site sit side by side. Press Run and a real Django 6.1 project starts in your browser: the migrations run, the site opens in a preview with its own address bar, and the Console shows every request, print() and error with its file and line. Press Check and the lesson is graded by visiting your site the way a browser does.
  • The first section builds a café's website from zero: what Django is, a project and its apps, INSTALLED_APPS, views, path() and include(), templates with {% for %}, {% if %} and filters, named URLs, template inheritance and static files.
  • Then the database, on a bookshelf: models and migrations, the shell and QuerySets, list and detail pages, the Django admin, ForeignKey and ManyToManyField. Then forms, on an events board with RSVPs: GET and POST, CSRF, redirect after POST, Form, ModelForm, validation and messages.
  • Users and accounts, on a private notes app: login, logout and signup, login_required, notes that belong to one user and an edit page only their author can open. Then class-based views on a job board: ListView, DetailView, CreateView, UpdateView, pagination.

Frequently asked questions about learning Django

Do I need to know Python before learning Django?

Yes, the basics: functions, classes and imports, plus a little HTML. Django is a Python framework, so the course uses them from the first lesson. New to code? Start with the Python course.

Is this the real Django?

Yes. Your project runs on Django 6.1 in your browser, on Python compiled to WebAssembly, and Check grades it on a server with the same version. The files you write are an ordinary Django project: manage.py, settings, apps, models, views and templates.

Do I need to install Python or Django?

No. Everything runs in the browser, with a database that lives in memory and starts fresh on every Run. The course is on the website, on a computer or a phone, and not in the Coddy mobile apps. To build your own projects later, install Python and Django on your computer: everything you learn here carries over.

What will I build in this Django course?

Six projects, one per section: a café's website, a bookshelf with an admin, an events board with RSVPs, a private notes app with accounts, a job board built from class-based views and a task tracker API.

Does the course teach Django REST Framework?

Not yet. The last section builds a JSON API with Django itself (JsonResponse, status codes, reading a JSON body), which is the work Django REST Framework automates.

Will I deploy a Django site?

Not in this course. A reading lesson at the end explains what changes when a site goes live (DEBUG, ALLOWED_HOSTS, collectstatic, environment variables), but your sites run in the browser only.

Is the Django course free?

Yes. The lessons, the live site, the AI hints and the certificates are free. A free account works through a few lessons a day, and Pro removes the daily limit.

Do I get a certificate for the Django course?

Yes. Each of the 6 sections gives you a free certificate of completion when you finish it, with its own page you can share or add to LinkedIn.

Coddy programming languages illustration

Learn Django with Coddy

Get started