Project Overview
Pharmacy Management System Project using Python Django
Managing medicines, prescriptions, and patient records manually can create many problems for medical stores and pharmacies. To solve this issue, developers build a Pharmacy Management System that automates medicine inventory, patient data, prescriptions, and stock management.
This project is a Pharmacy Management System built using Python Django designed to help pharmacies manage daily operations such as dispensing medicines, managing prescriptions, and maintaining stock records. The system supports multiple user roles including administrator, pharmacist, doctor, receptionist, and patient.
| Feature | Description |
|---|---|
| Project Name | Pharmacy Management System |
| Technology | Python, Django |
| Database | SQLite |
| Application Type | Web Application |
| User Roles | Admin, Doctor, Pharmacist, Receptionist, Patient |
| Purpose | Manage pharmacy operations digitally |
This type of project is commonly used as a final year project for BCA, MCA, B.Tech, and computer science students because it demonstrates real-world healthcare management automation.
Key Features of the Pharmacy Management System
The application contains several modules designed to simulate real pharmacy operations.
Administrator Module
| Admin Features |
|---|
| Manage patients |
| Manage system users |
| Manage drug categories |
| Manage medicines |
| Manage stock |
| Manage prescriptions |
| Dispense medicines |
The administrator controls the entire system and manages pharmacy operations.
Pharmacist Module
| Pharmacist Features |
|---|
| Manage medicine stock |
| Dispense medicines |
| Maintain medicine inventory |
| Handle patient feedback |
Pharmacists mainly manage medicines and stock in the system.
Doctor Module
| Doctor Features |
|---|
| Manage prescriptions |
| View patient records |
| Update prescription details |
Doctors create and manage prescriptions for patients.
Receptionist Module
| Receptionist Features |
|---|
| Register new patients |
| Manage admission records |
| Maintain patient details |
Receptionists help in managing patient registration and records.
Patient Module
| Patient Features |
|---|
| View prescriptions |
| Manage personal account |
| Send feedback to pharmacist |
Patients can view prescriptions and communicate with pharmacy staff.



System Architecture
| Layer | Technology Used |
|---|---|
| Frontend | HTML, CSS |
| Backend | Python Django |
| Database | SQLite |
| Framework | Django |
The system follows the Django web framework architecture which helps developers organize code efficiently and build secure applications.
Why This Project is Best for College and Real Time
Real World Healthcare Problem
Pharmacies handle large amounts of medicine data and prescriptions daily. A digital system helps in managing this information efficiently and reduces manual errors.
Multi User Role System
The project demonstrates role-based access control which is widely used in enterprise applications.
Full Stack Web Development Learning
Students learn backend development with Django and frontend interface development using templates and HTML.
Industry Relevant Technology
Python and Django are widely used technologies in modern software development.
Real Pharmacy Workflow Simulation
| Pharmacy Workflow |
|---|
| Patient registration |
| Doctor prescription |
| Pharmacist dispensing |
| Medicine inventory management |
This workflow closely matches real pharmacy operations.
Project Modules
| Module | Description |
|---|---|
| User Management | Handles login and user roles |
| Medicine Management | Store and update medicine details |
| Prescription Management | Doctors create prescriptions |
| Inventory Management | Track medicine stock |
| Patient Management | Maintain patient records |
| Feedback System | Patients communicate with pharmacists |
These modules work together to simulate a complete pharmacy management system.
How to Setup the Project
Step 1
Navigate to the project folder.
cd pharmacy-management
Step 2 Install Required Packages
Install all dependencies.
pip install -r requirements.txt
Step 3 Run Database Migration
Create the database tables.
python manage.py migrate
Step 4 Run the Server
Start the development server.
python manage.py runserver
Open the browser and visit:
http://127.0.0.1:8000/
Default Login Credentials
| Role | Username | Password |
|---|---|---|
| Admin | admin | 1234 |
| Pharmacist | pharmacist1 | 1234 |
| Doctor | doctor1 | 1234 |
| Patient | patient1 | 1234 |
| Receptionist | pharmacyclerk1 | 1234 |
These credentials allow testing of different modules.
Advantages of the System
| Benefit | Explanation |
|---|---|
| Automation | Reduces manual work |
| Accuracy | Minimizes human errors |
| Faster Processing | Quick prescription handling |
| Inventory Tracking | Prevents stock shortages |
| Organized Records | Easy patient record management |
Future Improvements
| Feature | Description |
|---|---|
| Barcode scanning | Automatic medicine identification |
| Online pharmacy ordering | Allow customers to order medicines |
| Payment gateway | Online payment integration |
| SMS notifications | Prescription alerts |
| AI medicine recommendation | Smart drug suggestions |
Adding these features can turn the project into a real commercial pharmacy system.
Viva Questions and Answers
Question 1
What is a Pharmacy Management System?
Answer
A Pharmacy Management System is a software application that helps pharmacies manage medicine inventory, prescriptions, patient records, and dispensing operations digitally.
Question 2
Why is Django used in this project?
Answer
Django is used because it provides built-in authentication, database management, security features, and rapid development tools for building scalable web applications.
Question 3
What are the advantages of using a digital pharmacy system?
Answer
Digital pharmacy systems improve efficiency, reduce manual errors, help manage inventory properly, store patient records securely, and speed up medicine dispensing processes.
Conclusion
The Pharmacy Management System using Python Django is a practical web application that demonstrates how healthcare businesses can automate their operations. The system manages medicines, prescriptions, patient records, and pharmacy staff efficiently.
For students, this project helps in understanding web development, database management, and real-world software workflows.
It is a highly recommended final year project for BCA, MCA, B.Tech, and computer science students.
Complete Project Demo
https://youtube.com/decodeit2
Related Project
https://updategadh.com/ai/ai-powered-habit-tracker/
pharmacy management system project using python django
pharmacy management system python
django pharmacy management system
pharmacy management system using django framework and mysql
pharmacy management system using django
django pharmacy management system github
pharmacy management system django github
pharmacy management system in django
🎓 Need Complete Final Year Project?
Get Source Code + Report + PPT + Viva Questions (Instant Access)
🛒 Visit UpdateGadh Store →