How cuongtran33200-ctrl/cnpm works
Shop SBCB is a Django technology storefront. Customers browse and filter products, add them to a session cart, submit checkout to create orders and order items, then view order history and leave eligible reviews. Separate account/support, staff operations, and admin reporting capabilities are also documented and represented. Edges follow sampled view calls and URL routing or explicit README statements; Cloudinary is documented, while its runtime configuration path was not sampled.
Main entry points: models.py Commerce models · urls.py Shop routes · views.py Checkout and orders · forms.py Commerce forms
Components 19
Customer commerce
- Catalog and product views
shop/views.py - Cart actions
shop/views.py - Session cart
shop/cart.py - Checkout and orders
shop/views.py - Accounts and profiles
shop/views.py - Commerce forms
shop/forms.py - Product reviews
shop/views.py - Customer support requests
shop/views.py
Store operations
- Staff operations
shop/staff_views.py - Admin reporting and roles
shop/admin_views.py - Role access checks
shop/decorators.py
Commerce domain
- Commerce models
shop/models.py - MySQL database
- Cloudinary image storage
Django platform
- Shop routes
shop/urls.py - Home route
home/urls.py - Home page
home/views.py
Other components
- Customer
- Site visitor
Connections 30
- Customer → Shop routes: requests pages
shop/urls.py - Shop routes → Catalog and product views: routes catalog
shop/urls.py - Shop routes → Cart actions: routes cart
shop/urls.py - Shop routes → Checkout and orders: routes orders
shop/urls.py - Shop routes → Accounts and profiles: routes accounts
shop/urls.py - Shop routes → Product reviews: routes reviews
shop/urls.py - Shop routes → Customer support requests: routes support
shop/urls.py - Cart actions → Session cart: updates cart
shop/views.py - Checkout and orders → Session cart: reads and clears
shop/views.py - Checkout and orders → Commerce forms: validates checkout
shop/views.py - Accounts and profiles → Commerce forms: validates profile
shop/views.py - Product reviews → Commerce forms: validates review
shop/views.py - Customer support requests → Commerce forms: validates request
shop/views.py - Catalog and product views → Commerce models: queries catalog
shop/views.py - Cart actions → Commerce models: loads products
shop/views.py - Checkout and orders → Commerce models: creates orders
shop/views.py - Accounts and profiles → Commerce models: updates profile
shop/views.py - Product reviews → Commerce models: saves reviews
shop/views.py - Customer support requests → Commerce models: saves requests
shop/views.py - Session cart → Commerce models: loads products
shop/cart.py - Shop routes → Staff operations: routes staff
shop/urls.py - Shop routes → Admin reporting and roles: routes admin
shop/urls.py - Staff operations → Role access checks: checks staff role
shop/staff_views.py - Admin reporting and roles → Role access checks: checks admin role
shop/admin_views.py - Staff operations → Commerce models: manages orders stock
shop/staff_views.py - Admin reporting and roles → Commerce models: queries commerce data
shop/admin_views.py - Commerce models → MySQL database: persists records
README.md - Commerce models → Cloudinary image storage: stores product images
README.md - Site visitor → Home route: requests home
home/urls.py - Home route → Home page: routes home
home/urls.py