How rahul270903/shopsphere-django works
Django-Ecommerce is a Django storefront. Shoppers browse the home/slide, shop, category, and product views, add products to a cart, submit checkout and billing details, and pay through Stripe; the app also supports coupons and refund requests. The central implementation is the routed view layer, backed by product, order, address, payment, and refund models. The README documents the storefront and payment flow; unsampled templates and settings limit confidence about their wiring and deployment configuration.
Main entry points: models.py Commerce Models · urls.py URL Routes · views.py Checkout Views · forms.py Checkout Forms
Components 18
Storefront
- URL Routes
core/urls.py - Catalog Views
core/views.py - Storefront Pages
templates - Slide Rendering
core/templatetags/slide_template_tags.py - Category Rendering
core/templatetags/category_template_tags.py
Cart and Checkout
- Cart Views
core/views.py - Checkout Views
core/views.py - Checkout Forms
core/forms.py - Payment View
core/views.py - Stripe
- Order Summary
core/views.py - Coupon Handling
core/views.py
Commerce Domain
- Commerce Models
core/models.py - Cart Count Tag
core/templatetags/cart_template_tags.py
Order Operations
- Refund Requests
core/views.py - Store Admin
core/admin.py - User Accounts
Other components
- Shopper
Connections 26
- Shopper → URL Routes: requests pages
core/urls.py - URL Routes → Catalog Views: routes to
core/urls.py - URL Routes → Cart Views: routes to
core/urls.py - URL Routes → Checkout Views: routes to
core/urls.py - URL Routes → Payment View: routes to
core/urls.py - URL Routes → Order Summary: routes to
core/urls.py - URL Routes → Coupon Handling: routes to
core/urls.py - URL Routes → Refund Requests: routes to
core/urls.py - Catalog Views → Storefront Pages: renders pages
core/views.py - Catalog Views → Commerce Models: queries catalog
core/views.py - Slide Rendering → Commerce Models: queries slides
core/templatetags/slide_template_tags.py - Category Rendering → Commerce Models: queries categories
core/templatetags/category_template_tags.py - Cart Views → Commerce Models: updates orders
core/views.py - Checkout Views → Checkout Forms: validates input
core/views.py - Checkout Views → Commerce Models: creates address
core/views.py - Payment View → Commerce Models: loads order
core/views.py - Payment View → Stripe: creates charge
core/views.py - Payment View → Storefront Pages: renders payment
core/views.py - Order Summary → Commerce Models: loads order
core/views.py - Coupon Handling → Checkout Forms: validates code
core/views.py - Coupon Handling → Commerce Models: updates coupon
core/views.py - Refund Requests → Checkout Forms: validates request
core/views.py - Refund Requests → Commerce Models: records refund
core/views.py - Store Admin → Commerce Models: registers models
core/admin.py - Cart Count Tag → Commerce Models: counts order items
core/templatetags/cart_template_tags.py - Checkout Views → User Accounts: uses current user