How themanwhocodesmad/romanesco works
This is a Django service-management application for tracking customers, repair job cards, technicians, products, and returned goods (RMA). Users submit and manage jobs and RMAs through web views or REST endpoints; RMAs can be converted into job cards, while technicians’ work, reporting, and customer survey feedback are handled across the job lifecycle. Authentication and product catalogs support those workflows. The excerpts show model and view behavior, but not URL wiring; several webapp and notification details are therefore represented only where the source index or excerpts support them.
Main entry points: system/models.py Customers and jobs · system/views.py Job API and reports · authentication/models.py User accounts · resources/views.py Catalog API
Components 22
Access and identity
- Authentication API
authentication/views.py - User serialization
authentication/serializers.py - User accounts
authentication/models.py - Telegram linking
main.py
Job management
- Job API and reports
system/views.py - Job serialization
system/serializers.py - Customers and jobs
system/models.py - Job web views
webapp/views - Job web forms
webapp/forms - Web view module
webapp/views.py - Form module
webapp/forms.py
Returns and feedback
- RMA workflow
webapp/views/RMAViews.py - RMA forms
webapp/forms/RMAForms.py - RMA records
rma/models.py - RMA serialization
rma/serializers.py - Customer surveys
system/customer_responses/survey.py - Survey forms
system/customer_responses/forms.py
Catalog and messaging
- Catalog API
resources/views.py - Catalog serialization
resources/serializers.py - Products and regions
resources/models.py - WhatsApp notices
system/twilio_whatsapp/technician_notifications.py
Other components
- User
Connections 22
- User → Authentication API: authenticates
- Authentication API → User serialization: uses
authentication/views.py - Authentication API → User accounts: reads
authentication/views.py - Telegram linking → User accounts: links chat
main.py - Job API and reports → Customers and jobs: reads and updates
system/views.py - Job API and reports → Job serialization: serializes
system/views.py - Job API and reports → User accounts: looks up technician
system/views.py - Job web views → Job web forms: uses
webapp/views/OpenJobCards.py - Job web views → Customers and jobs: reads
webapp/views/OpenJobCards.py - RMA workflow → RMA forms: uses
webapp/views/RMAViews.py - RMA workflow → RMA records: reads and updates
webapp/views/RMAViews.py - RMA forms → User accounts: selects technicians
webapp/forms/RMAForms.py - RMA forms → Products and regions: selects products
webapp/forms/RMAForms.py - RMA records → Customers and jobs: creates job card
rma/models.py - RMA serialization → RMA records: serializes
rma/serializers.py - RMA serialization → Customers and jobs: references
rma/serializers.py - Customer surveys → Survey forms: uses
system/customer_responses/survey.py - Customer surveys → Customers and jobs: records feedback
system/customer_responses/survey.py - Catalog API → Catalog serialization: serializes
resources/views.py - Catalog API → Products and regions: reads and updates
resources/views.py - Catalog API → User serialization: serializes technicians
resources/views.py - Job API and reports → WhatsApp notices: may notify
system/views.py