Skip to content

spooder-dev/learn-django-with-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

🌱 Learning Django from Scratch — With Me!

Welcome! This is a beginner-friendly guide to learning Django step by step, with simple explanations, relatable analogies, and practice code in every lesson.

Each lesson is in its own Git branch, so you can explore and learn at your own pace — one topic at a time.


💻 How to Use This Project (in Codespaces)

You don’t need to install anything on your computer.

Just use GitHub Codespaces (which runs in your browser).

🚀 To get started:

  1. Click the green <> Code button at the top of this repo.
  2. Choose “Open with Codespaces”“+ New codespace”
  3. Wait a few seconds — VS Code will open in your browser.

Create your own repo on github to follow the lessons.i.e.My Django Project. Open it using codespace as explained above and create your project as you follow through the lessons. Do not forget to commit so as to not lose your progress.


📦 Project Structure

  • Each lesson is a Git branch
  • The main branch is just an overview and table of contents
  • All Django code is inside a project folder called mysite/ and apps like hello/

🧭 How to Access a Lesson

▶️ In the terminal (inside Codespaces), type:

git checkout lesson-02-setup

Replace lesson-02-setup with the branch name of the lesson you want to try.

You can run the Django server with:

python manage.py runserver

Then visit: http://127.0.0.1:8000/ in the Preview tab.


📚 Lessons Overview

Lesson Branch Name Topic
01 lesson-01-what-is-django What is Django?
02 lesson-02-setup Setting up your Django project
03 lesson-03-structure Understanding the Django project structure
04 lesson-04-create-app Creating your Django app
05 lesson-05-templates Understanding and creating Django templates
06 lesson-06-context Passing Data to Templates (Context)
07 lesson-07-staticfiles Adding CSS & Images (Static Files)
08 lesson-08-adminpanel Creating an Admin Panel
09 lesson-09-form User Input with Django Forms

🙋 Who This Is For

  • You know some Python basics (functions, variables, if statements)
  • You want to learn Django in a simple, practical way
  • You want to build real web apps — not just read theory

❤️ Let’s Learn Django Together

Every lesson builds on the last one.

You’ll write real code, run real servers, and actually understand what’s happening.

👉 Start from Lesson 01 and go step by step.

You've got this! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published