How mohsinalisheliya/sku_manager works
This is a Django jewelry SKU and stock-management application. Staff sign in, create or edit SKU records, receive stock in batches, manage locations and platform prices, then track inventory and dispatch scanned items; they can also print labels, export CSV, and configure application settings. The sampled URL configuration and views establish routing and model usage, but many individual view bodies were omitted, so feature-specific internal calls are not expanded beyond what the excerpts support.
Main entry points: views.py Request handlers · models.py SKU records · db.sqlite3 SQLite database · admin.py Django admin
Components 17
Web application
- Project routing
config/urls.py - SKU routes
sku_manager/urls.py - Request handlers
sku_manager/views.py - Web pages
templates/sku_manager - Django admin
sku_manager/admin.py
Product catalog
- SKU catalog
sku_manager/views.py - SKU records
sku_manager/models.py
Inventory operations
- Stock management
sku_manager/views.py - Stock batches
sku_manager/models.py - Storage locations
sku_manager/views.py - Boxes and platforms
sku_manager/models.py
Dispatch and settings
- Scan and dispatch
sku_manager/views.py - Dispatch logs
sku_manager/models.py - Labels and export
sku_manager/views.py - App settings
sku_manager/models.py
Other components
- Staff user
- SQLite database
db.sqlite3
Connections 26
- Staff user → Project routing: sends requests
config/urls.py - Project routing → SKU routes: includes routes
config/urls.py - SKU routes → Request handlers: dispatches requests
sku_manager/urls.py - Request handlers → Web pages: renders pages
sku_manager/views.py - Request handlers → SKU catalog: handles catalog
sku_manager/urls.py - Request handlers → Stock management: handles inventory
sku_manager/urls.py - Request handlers → Storage locations: handles locations
sku_manager/urls.py - Request handlers → Scan and dispatch: handles dispatch
sku_manager/urls.py - Request handlers → Labels and export: handles utilities
sku_manager/urls.py - Request handlers → SKU records: queries and updates
sku_manager/views.py - SKU catalog → SKU records: creates and edits
sku_manager/views.py - Stock management → Stock batches: records stock batches
sku_manager/views.py - Stock management → SKU records: reads and updates stock
sku_manager/views.py - Storage locations → Boxes and platforms: reads and updates
sku_manager/views.py - Scan and dispatch → Dispatch logs: records dispatches
sku_manager/views.py - Scan and dispatch → SKU records: updates stock
sku_manager/views.py - Labels and export → SKU records: uses SKU data
sku_manager/views.py - Request handlers → App settings: loads settings
sku_manager/views.py - Django admin → SKU records: administers records
sku_manager/admin.py - Django admin → Boxes and platforms: administers platforms
sku_manager/admin.py - Django admin → Dispatch logs: administers logs
sku_manager/admin.py - SKU records → SQLite database: persists records
- Stock batches → SQLite database: persists batches
- Boxes and platforms → SQLite database: persists records
- Dispatch logs → SQLite database: persists logs
- App settings → SQLite database: persists settings