Skip to content

Ibrahim2656/The-Ultimate-Django-Series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Django Learning

My journey learning Django - organized code, resources, and notes.

πŸ“š Course Parts

Topics: ORM, Queries, Models, Admin, Database Operations
Project: Storefront E-commerce
Status: βœ… Completed

πŸ—‚οΈ Repository Structure

Each part contains:

  • storefront/ - The Django project
  • course-resources/ - Original course code and database files
  • notes/ - Learning notes and documentation

πŸš€ Quick Start

# Navigate to part 1
cd part-1/storefront

# Install dependencies
pip install -r requirements.txt

# Run migrations
python manage.py migrate

# Start development server
python manage.py runserver

πŸ“– Documentation

🎯 Key Concepts Learned

Django ORM

  • Query optimization with select_related and prefetch_related
  • Complex queries using Q and F objects
  • Aggregation and annotation
  • Generic relations
  • Custom managers

Models

  • Field types and validators
  • Relationship design (ForeignKey, ManyToMany, OneToOne)
  • on_delete behavior
  • Choices pattern for dropdowns
  • Meta options for ordering and indexes

Admin

  • List display customization
  • Computed columns
  • Custom actions
  • Inline editing
  • Performance optimization
  • Custom filters

πŸ› οΈ Technologies

  • Python 3.x
  • Django 4.x
  • SQLite (development)

πŸ“ Notes Style

Notes are concept-focused with code snippets as examples - designed for learning and quick reference, not comprehensive documentation.

About

Django Learning Journey: A structured guide to learning Django step by step. This resource includes detailed notes, examples, and practical exercises covering models, ORM, database interactions, and core Django concepts. It is designed for hands-on learning and to serve as a personal reference

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors