Skip to content

πŸ“– Learning Django 🌐 from scratch with practical project (To-Do Application) and structured notes. This repo includes setup guides, clean code, real-time problem solving, and my personal Django 🐍 roadmap for becoming a Python full stack developer. πŸš€

Notifications You must be signed in to change notification settings

Madhav-P-2005/Code-With-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ Django To-Do App β€” A Beginner to Intermediate Journey

Welcome to my Django learning journey β€” documented, structured, and evolving in real-time. This repo begins with setting up Django from scratch and progresses into building a full-featured To-Do App using Django’s powerful capabilities.


πŸš€ What You’ll Learn

This repository covers both foundational and intermediate-level Django development concepts :-

πŸ”° Basics

  • Setting up a Django Project & App
  • Virtual Environment Configuration
  • Understanding Django Project Structure
  • URL Routing and Views

🧱 Intermediate Features

  • CRUD Operations with Django ORM
  • SQLite3 Integration
  • User Authentication (Login/Logout)
  • Middleware Implementation
  • Real-Time Updates with Django Channels
  • API Endpoints: GET, POST, PUT, PATCH, DELETE
  • Pagination & Query Parameters
  • Postman API Testing and Collection Export

πŸ’‘ Project Outcome

A fully functional, tested To-Do Application:

  • Create, read, update, delete tasks
  • Filter tasks using parameters
  • Authenticate users for personalized task lists
  • Real-time updates when a task is added or modified

πŸ”— Postman Collection included β†’ Click to View Collection


πŸ› οΈ Project Setup Instructions

1. Create Project Directory

mkdir Django-Learning && cd Django-Learning

2. Setup Virtual Environment

python -m venv MyEnvironment
.\MyEnvironment\Scripts\Activate.ps1  # PowerShell (Windows)

To deactivate: deactivate

3. Install Django

pip install django

4. Start Project

django-admin startproject myproject .

5. Create App

python manage.py startapp myapp

6. Register App in settings.py

INSTALLED_APPS = [
    ...
    'myapp',
]

7. Apply Migrations

python manage.py makemigrations
python manage.py migrate

8. Run Server

python manage.py runserver

πŸ“‚ Key Files and Their Purpose

File / Folder Purpose
manage.py Command-line utility to interact with the project (runserver, migrations, etc.).
settings.py Holds configuration settings like database, installed apps, static files, etc.
urls.py Maps URLs to corresponding views (acts as a request router).
views.py Handles request logic and returns responses (HTML, JSON, etc.).
models.py Defines your database schema using Django ORM.
admin.py Configures which models are accessible via the admin dashboard.
apps.py Holds metadata for your Django app.
tests.py Contains unit tests for validating app functionality.
db.sqlite3 Lightweight default development database.
wsgi.py Interface for deploying the app using WSGI-compatible servers.
asgi.py (optional) Used for asynchronous applications (e.g., WebSockets).

πŸ§ͺ API Testing (Postman)

All API routes were tested using Postman. A structured collection with example requests is available in this repo.

πŸ“ _Includes over 30+ structured requests for:

  • Auth
  • CRUD
  • Pagination
  • Middleware_

🏁 Certificates Earned

πŸ… 4 individual course certifications πŸ… 1 full learning path certificate for "Introduction to Django for Back-End Development" by CodeSignal


πŸ’» What’s Next?

πŸ“‹ Mastering Django Admin Panel πŸ” Deep diving into Django REST Framework (DRF) πŸš€ Learning deployment strategies (Heroku, Railway, etc.) πŸ—οΈ Building real-world production-ready projects πŸ› οΈ Implementing best practices for scalability and security


πŸ“š References


πŸ™Œ Acknowledgements

Thanks to CodeSignal for a structured, beginner-friendly path.


🌟 Star this repo if it helped you β€” and feel free to fork, learn, and contribute.

About

πŸ“– Learning Django 🌐 from scratch with practical project (To-Do Application) and structured notes. This repo includes setup guides, clean code, real-time problem solving, and my personal Django 🐍 roadmap for becoming a Python full stack developer. πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages