How chuajanice/wb4 works
This is a Django water-utility billing and consumer-account management system. Staff use routed web views to manage consumers, meter readings, bills, payments, penalties, and account issues; reporting views provide billing and consumption summaries. Persistent domain records are represented by Django models, with supporting calculation and data-porting modules. The README gives no product detail, so feature coverage comes from the URL routes and sampled source; unsampled view behavior and database configuration are not inferred.
Main entry points: views.py Web handlers · dataporter.py Legacy data porting · functions.py Billing calculations · models.py Consumer accounts
Components 14
Web interface
- Application routes
index/urls.py - Web handlers
index/views.py - Role access checks
index/decorators.py - Staff and consumer forms
index/forms.py
Billing operations
- Consumer accounts
index/models.py - Billing transactions
index/models.py - Billing calculations
index/functions.py - Scheduled penalties
index/tasks.py
Reports and data
- Report handlers
index/reports.py - Legacy data porting
index/dataporter.py - Legacy column mapping
index/colnames.py
Domain support
- Utility domain records
index/models.py - Password reset tokens
index/tokens.py
Other components
- Staff user
Connections 22
- Staff user → Application routes: requests pages
index/urls.py - Application routes → Web handlers: routes requests
index/urls.py - Application routes → Report handlers: routes reports
index/urls.py - Web handlers → Billing calculations: imports calculations
index/views.py - Web handlers → Staff and consumer forms: imports forms
index/views.py - Web handlers → Role access checks: imports access checks
index/views.py - Web handlers → Scheduled penalties: imports tasks
index/views.py - Web handlers → Password reset tokens: imports tokens
index/views.py - Web handlers → Consumer accounts: uses account records
index/views.py - Web handlers → Billing transactions: uses transactions
index/views.py - Billing calculations → Consumer accounts: queries accounts
index/functions.py - Billing calculations → Billing transactions: updates transactions
index/functions.py - Billing calculations → Legacy data porting: imports porting helpers
index/functions.py - Scheduled penalties → Billing transactions: creates penalties
index/tasks.py - Scheduled penalties → Consumer accounts: checks consumers
index/tasks.py - Report handlers → Billing transactions: queries billing data
index/reports.py - Report handlers → Consumer accounts: queries consumers
index/reports.py - Legacy data porting → Legacy column mapping: imports column names
index/dataporter.py - Legacy data porting → Billing calculations: imports billing helpers
index/dataporter.py - Legacy data porting → Consumer accounts: creates account records
index/dataporter.py - Legacy data porting → Billing transactions: creates transactions
index/dataporter.py - Web handlers → Utility domain records: uses utility records
index/views.py