How phucndh777/noithat works
Furni Store is a Django furniture storefront with staff administration. Customers browse and review products, register, keep a session-backed cart, place orders, and view their orders; staff manage products and order status. Checkout validates stock and creates order items within a transaction, while cancellation restores stock. The graph separates these domain responsibilities even though several share shop/views.py. Some view sections and templates were not sampled, so those branches rely on the README or URL declarations rather than claims about unseen implementation details.
Main entry points: urls.py URL routes · shop Store pages · models.py Store records · views.py Product management
Components 18
Web entry
- URL routes
shop/urls.py - Account flows
shop/views.py - Django settings
config/settings.py
Storefront
- Product browsing
shop/views.py - Product reviews
shop/views.py - Input forms
shop/forms.py - Store pages
shop/templates/shop
Orders
- Session cart
shop/views.py - Checkout
shop/views.py - Order history
shop/views.py - Store records
shop/models.py - SQLite database
db.sqlite3
Staff operations
- Product management
shop/views.py - Order management
shop/views.py - Product form
shop/forms.py - Product images
media/products
Other components
- Customer
- Staff user
Connections 33
- Customer → URL routes: requests pages
README.md - Staff user → URL routes: uses admin routes
README.md - URL routes → Product browsing: routes to
shop/urls.py - URL routes → Product reviews: routes to
shop/urls.py - URL routes → Account flows: routes to
shop/urls.py - URL routes → Session cart: routes to
shop/urls.py - URL routes → Checkout: routes to
shop/urls.py - URL routes → Order history: routes to
shop/urls.py - URL routes → Product management: routes to
shop/urls.py - URL routes → Order management: routes to
shop/urls.py - Account flows → Input forms: validates registration
shop/views.py - Account flows → Store pages: renders pages
shop/views.py - Product browsing → Store records: queries products
shop/views.py - Product browsing → Store pages: renders pages
shop/views.py - Product reviews → Input forms: validates reviews
shop/views.py - Product reviews → Store records: reads and writes reviews
shop/views.py - Product reviews → Store pages: renders details
shop/views.py - Session cart → Store records: loads products
shop/views.py - Session cart → Store pages: renders cart
shop/views.py - Session cart → Django settings: uses session middleware
config/settings.py - Checkout → Input forms: validates order
shop/views.py - Checkout → Store records: creates order items
shop/views.py - Checkout → Store pages: renders checkout
shop/views.py - Order history → Store records: queries orders
shop/views.py - Order history → Store pages: renders order pages
- Product management → Product form: validates product edits
shop/views.py - Product management → Store records: saves products
shop/views.py - Product management → Product images: stores product images
- Product management → Store pages: renders management pages
- Order management → Store records: updates order status
shop/views.py - Order management → Store pages: renders order management
- Django settings → SQLite database: configures SQLite
config/settings.py - Django settings → Product images: configures media root
config/settings.py