How krutik121/development-of-an-e-commerce-web-application-using-django- works
This is a Django marketplace for browsing products, seller listings, carts, orders, and payment. The user-facing flow enters through URL routes, reaches view handlers, and renders pages; checkout can create an offline order or initiate Razorpay payment, with payment verification updating order state. Models define the marketplace records, and settings configure SQLite and media storage. The view excerpt is partial, so several capabilities are established by route names rather than inspected handler logic; those links are limited to what the routes show.
Main entry points: views.py Request handlers · models.py Marketplace models · urls.py URL routing · templates Marketplace pages
Components 14
Web entry and pages
- URL routing
project/urls.py - Request handlers
app/views.py - Marketplace pages
app/templates
Marketplace workflows
- Accounts
app/views.py - Product catalog
app/views.py - Seller listings
app/views.py - Shopping cart
app/views.py - Checkout and orders
app/views.py - Order history
app/views.py
Marketplace records
- Marketplace models
app/models.py - SQLite database
db.sqlite3
Order payments
- Razorpay service
- Payment records
app/models.py
Other components
- Shopper or seller
Connections 18
- Shopper or seller → URL routing: requests pages
project/urls.py - URL routing → Request handlers: dispatches to
project/urls.py - Request handlers → Accounts: handles account actions
project/urls.py - Request handlers → Product catalog: handles catalog routes
project/urls.py - Request handlers → Seller listings: handles listing routes
project/urls.py - Request handlers → Shopping cart: handles cart routes
project/urls.py - Request handlers → Checkout and orders: handles checkout routes
project/urls.py - Request handlers → Order history: handles history route
project/urls.py - Request handlers → Marketplace pages: renders pages
app/views.py - Accounts → Marketplace models: queries users
app/views.py - Product catalog → Marketplace models: queries products
app/views.py - Seller listings → Marketplace models: saves listings
app/views.py - Shopping cart → Marketplace models: updates cart
app/views.py - Checkout and orders → Marketplace models: saves orders
app/views.py - Checkout and orders → Razorpay service: creates payment order
app/views.py - Checkout and orders → Payment records: records verification
app/views.py - Order history → Marketplace models: reads orders
app/views.py - Marketplace models → SQLite database: persists records