How stanfte/tp_m2_coo works
Velo is a Django application whose visible product is a domain model for a location-based production and retail operation, exposed through Django’s admin. An administrator reaches the admin route, where registered records can be maintained and persisted in SQLite. The model spans geography, facilities and production, supply and inventory, and retail and sales. The README is empty and the app views are unimplemented; the graph therefore reflects the documented route, admin registrations, model relationships, and configured database, not an application-specific workflow beyond admin CRUD.
Main entry points: admin.py Django admin · models.py Operations · urls.py URL routing · db.sqlite3 SQLite database
Components 18
Geography
- Countries and cities
velo/high_level/models.py
Facilities and production
- Machines
velo/high_level/models.py - Machine quantities
velo/high_level/models.py - Sites
velo/high_level/models.py - Transport
velo/high_level/models.py - Operations
velo/high_level/models.py
Supply and inventory
- Products
velo/high_level/models.py - Product quantities
velo/high_level/models.py - Supplier pricing
velo/high_level/models.py - Suppliers
velo/high_level/models.py - Stock
velo/high_level/models.py
Retail and sales
- Points of sale
velo/high_level/models.py - Invoices
velo/high_level/models.py
Django runtime
- URL routing
velo/velo/urls.py - Django admin
velo/high_level/admin.py - Django ORM
velo/high_level/models.py - SQLite database
velo/db.sqlite3
Other components
- Administrator
Connections 33
- Administrator → URL routing: requests admin
- URL routing → Django admin: routes admin
- Django admin → Countries and cities: registers
- Django admin → Machines: registers
- Django admin → Machine quantities: registers
- Django admin → Sites: registers
- Django admin → Transport: registers
- Django admin → Operations: registers
- Django admin → Products: registers
- Django admin → Product quantities: registers
- Django admin → Supplier pricing: registers
- Django admin → Suppliers: registers
- Django admin → Stock: registers
- Django admin → Points of sale: registers
- Django admin → Invoices: registers
- Countries and cities → Sites: city reference
- Machine quantities → Machines: machine reference
- Sites → Machine quantities: tracks quantities
- Transport → Sites: origin and destination
- Operations → Machines: uses machine
- Operations → Operations: next operation
- Operations → Product quantities: tracks quantities
- Products → Operations: has operations
- Product quantities → Products: product reference
- Supplier pricing → Products: product reference
- Suppliers → Supplier pricing: offers prices
- Stock → Product quantities: tracks quantities
- Points of sale → Sites: located at
- Points of sale → Stock: uses stock
- Invoices → Points of sale: point of sale
- Invoices → Product quantities: records quantities
- Django admin → Django ORM: maintains records
- Django ORM → SQLite database: reads and writes