How sumitkumar1503/bloodbankmanagement works
This Django blood-bank system serves three roles: administrators manage people, donations, requests, and inventory; donors register, submit donations or requests, and review histories; patients register and request blood. The principal workflow is a donation submitted by a donor, reviewed by an administrator, and—if approved—added to stock; blood requests are similarly reviewed and consume stock when approved. Dashboards and histories expose status and counts. The graph follows sampled view logic and README-described capabilities; unsampled model definitions are represented only by their tree paths.
Main entry points: blood/views.py Admin workflows · donor/views.py Donor workflows · patient/views.py Patient workflows · settings.py SQLite database
Components 16
Web entry
- URL dispatch
bloodbankmanagement/urls.py - Donor routes
donor/urls.py - Patient routes
patient/urls.py - Admin pages
templates/blood - Donor pages
templates/donor - Patient pages
templates/patient
User accounts
- Donor profiles
donor/models.py - Patient profiles
patient/models.py - Django accounts
bloodbankmanagement/settings.py
Blood operations
- Admin workflows
blood/views.py - Donor workflows
donor/views.py - Patient workflows
patient/views.py
Persistent records
- Donation records
donor/models.py - Stock and requests
blood/models.py - SQLite database
bloodbankmanagement/settings.py
Other components
- Admin, donor, patient
Connections 25
- Admin, donor, patient → URL dispatch: sends requests
- URL dispatch → Admin workflows: dispatches
- URL dispatch → Donor routes: includes routes
- URL dispatch → Patient routes: includes routes
- Donor routes → Donor workflows: dispatches
- Patient routes → Patient workflows: dispatches
- Admin workflows → Stock and requests: reads and updates
- Admin workflows → Donation records: reviews donations
- Admin workflows → Donor profiles: manages profiles
- Admin workflows → Patient profiles: manages profiles
- Admin workflows → Admin pages: renders
- Donor workflows → Donor profiles: reads and creates
- Donor workflows → Donation records: submits and lists
- Donor workflows → Stock and requests: creates requests
- Donor workflows → Donor pages: renders
- Patient workflows → Patient profiles: reads and creates
- Patient workflows → Stock and requests: creates and lists requests
- Patient workflows → Patient pages: renders
- Donor workflows → Django accounts: creates account
- Patient workflows → Django accounts: creates account
- Django accounts → SQLite database: persists
- Stock and requests → SQLite database: persists
- Donation records → SQLite database: persists
- Donor profiles → SQLite database: persists
- Patient profiles → SQLite database: persists