How m-awais-11/clinipaws works
CliniPaws is a Django livestock-disease reporting application. Farm owners and other users submit symptom or animal-image reports; the prediction views invoke the relevant classifier or detector, save report records, and present results. The product also includes account and OTP recovery flows, doctor authentication and comments, report PDFs, chat, and administrative user/message management. The views excerpt and SOURCE INDEX support the main orchestration links; some secondary integrations are documented but their call sites are not fully shown.
Main entry points: predictions/views.py Prediction workflows · accounts/views.py Account workflows · admin.py Django admin · detector.py Image detector
Components 15
Web workflows
- Prediction workflows
predictions/views.py - Report forms
predictions/forms.py - AI chat
predictions/views.py - Bilingual PDFs
livestock_disease_prediction/pdf_utils.py
Disease analysis
- Symptom classifier
Logistic Regression classifier/Logistic_Regression.py - Image detector
Roboflow/detector.py
Accounts and support
- Account workflows
accounts/views.py - Account forms
accounts/forms.py - Password reset OTP
accounts/otp_models.py - Users and activity
accounts/models.py - Django admin
accounts/admin.py
Reports and persistence
- Disease reports
predictions/models.py
Other components
- Application user
- Roboflow inference
- Email service
Connections 15
- Application user → Prediction workflows: submits reports
- Prediction workflows → Report forms: validates input
predictions/views.py - Prediction workflows → Symptom classifier: classifies symptoms
predictions/views.py - Prediction workflows → Image detector: analyzes images
predictions/views.py - Image detector → Roboflow inference: requests inference
Roboflow/detector.py - Prediction workflows → Disease reports: saves reports
predictions/views.py - Prediction workflows → Bilingual PDFs: generates PDFs
predictions/views.py - Application user → Account workflows: manages account
- Account workflows → Account forms: validates credentials
accounts/views.py - Account workflows → Password reset OTP: creates reset codes
accounts/views.py - Account workflows → Users and activity: reads user
accounts/views.py - Account workflows → Email service: sends reset email
accounts/views.py - Application user → AI chat: sends questions
- Django admin → Users and activity: manages accounts
accounts/admin.py - Django admin → Disease reports: manages reports