How joyfoxed/ghcontrol works
GHControl is a Django laboratory inventory and chemical-safety application. Its main workflow is staff or student requests routed to inventory views, where access rules govern reagent lookup and stock operations; the application tracks quantities and movement history while applying chemical compatibility and expiry information. The README also documents barcode search, GHS/FISPQ access, dashboards, and printable audit reports. Those capabilities are represented at the documented module level; the sampled source does not include the implementation of the inventory views or models.
Main entry points: views.py Inventory views · models.py GHS and FISPQ · urls.py App routes · forms.py Inventory forms
Components 15
Web and access
- App routes
estoque/urls.py - Inventory views
estoque/views.py - Inventory forms
estoque/forms.py - Role permissions
estoque/permissions.py
Inventory operations
- Dashboard and expiry alerts
estoque/views.py - Barcode and reagent search
estoque/views.py - Stock and unit conversion
estoque/models.py
Chemical safety
- Storage compatibility
estoque/models.py - GHS and FISPQ
estoque/models.py
Inventory records
- Reports and audit
estoque/views.py - Movement history
estoque/models.py - PostgreSQL / Neon
Other components
- Technician / admin
- Student / reader
- FISPQ source
Connections 18
- Technician / admin → App routes: requests stock actions
- Student / reader → App routes: requests read-only access
- App routes → Inventory views: routes requests
- Inventory views → Role permissions: checks access
- Inventory views → Inventory forms: validates input
- Inventory views → Dashboard and expiry alerts: renders dashboard
- Inventory views → Barcode and reagent search: handles lookup
- Inventory views → Stock and unit conversion: reads and changes stock
- Inventory views → Storage compatibility: checks placement
- Inventory views → GHS and FISPQ: provides hazard details
- Inventory views → Reports and audit: generates reports
- Inventory views → Movement history: records movements
- Stock and unit conversion → PostgreSQL / Neon: reads and writes
- Storage compatibility → PostgreSQL / Neon: reads classifications
- GHS and FISPQ → PostgreSQL / Neon: reads hazard data
- Movement history → PostgreSQL / Neon: stores audit entries
- Reports and audit → Technician / admin: presents printable report
- GHS and FISPQ → FISPQ source: links to source sheet