How srbenx4/evs4-backend works
Party Catalog is a Django application for browsing party products, preparing a temporary quotation, and maintaining the catalog. The main visitor flow is catalog browsing and product inspection, followed by session-based quantity changes, totals, and confirmation; no purchase or stock reservation occurs. Separate branches cover account registration, staff catalog maintenance, and JWT-protected product API access. The excerpts show catalog and quotation view logic and account registration; API wiring, models, signals, and several routes are represented only where the README or source index supports them.
Main entry points: models.py Articles and categories · catalog/views.py Home, search, detail · quotations/views.py Quote operations · api_views.py Article API endpoints
Components 19
Catalog browsing
- Home, search, detail
catalog/views.py - Article form
catalog/forms.py - Articles and categories
catalog/models.py - Django admin
catalog/admin.py - Catalog pages
templates/catalog
Quotation
- Quote operations
quotations/views.py - Browser session
- Quotation pages
templates/quotations
Accounts and access
- Registration and login
accounts/views.py - Registration form
accounts/forms.py - User profiles
accounts/models.py - Profile signals
accounts/signals.py
Product API
- Article API endpoints
catalog/api_views.py - Article serializers
catalog/serializers.py - JWT authentication
Django runtime
- SQLite database
Other components
- Visitor
- Staff user
- API client
Connections 22
- Visitor → Home, search, detail: browses
README.md - Home, search, detail → Articles and categories: queries
catalog/views.py - Home, search, detail → Catalog pages: renders
catalog/views.py - Staff user → Home, search, detail: maintains catalog
README.md - Home, search, detail → Article form: uses
catalog/views.py - Article form → Articles and categories: validates
catalog/forms.py - Staff user → Django admin: administers
README.md - Django admin → Articles and categories: manages
catalog/admin.py - Visitor → Quote operations: prepares quote
README.md - Quote operations → Articles and categories: loads articles
quotations/views.py - Quote operations → Browser session: reads and writes
quotations/views.py - Quote operations → Quotation pages: renders
quotations/views.py - Visitor → Registration and login: registers
README.md - Registration and login → Registration form: validates
accounts/views.py - Registration form → User profiles: updates profile
- API client → JWT authentication: gets token
README.md - API client → Article API endpoints: requests articles
README.md - Article API endpoints → JWT authentication: requires
README.md - Article API endpoints → Article serializers: serializes
- Article serializers → Articles and categories: represents
catalog/serializers.py - Articles and categories → SQLite database: persists through ORM
README.md - User profiles → SQLite database: persists through ORM
README.md