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.
This repository covers both foundational and intermediate-level Django development concepts :-
- Setting up a Django Project & App
- Virtual Environment Configuration
- Understanding Django Project Structure
- URL Routing and Views
- 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
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
mkdir Django-Learning && cd Django-Learning
python -m venv MyEnvironment
.\MyEnvironment\Scripts\Activate.ps1 # PowerShell (Windows)
To deactivate:
deactivate
pip install django
django-admin startproject myproject .
python manage.py startapp myapp
INSTALLED_APPS = [
...
'myapp',
]
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
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). |
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_
π 4 individual course certifications π 1 full learning path certificate for "Introduction to Django for Back-End Development" by CodeSignal
π 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
Thanks to CodeSignal for a structured, beginner-friendly path.