How pixelyoki/django-wsm works
Project type and purpose
• This is a full‐stack web application built on the Python-Django framework.
• Purpose: A 商品库存交易管理系统 (Inventory & Order Management System) supporting user registration/login, profile management, staff CRUD, product CRUD, order CRUD, and message notifications.
File structure
• Top‐level files:
• manage.py – Django CLI entry point
• inventory_system/ – Django project settings, ASGI/WSGI, root URL conf
• dashboard/ & user/ – Two Django “apps” encapsulating domain logic
• db.sqlite3 – Development database
• requirements.txt – Python dependencies
• media/ – Uploaded user profile images
• templates/ – Jinja2‐style HTML templates, organized by app and shared partials
• Patterns/Architecture:
• MTV (Model-Template-View) pattern of Django
• Separated “user” app for authentication/profile and “dashboard” app for core inventory & order logic
• Static/media served separately from dynamic views
• Deployment hints (README mentions a cloud server URL) imply use of a web server (e.g., Nginx), an application server (Gunicorn/Uvicorn), and the database.
Key README insights
• Provides UI flows (screenshots of login, dashboard, CRUD pages)
• Lists core features: user management, staff management, product management, order management