Django Hospital Management System With Source Code

A Hospital Management System using Django is a Multi-User Interface like Patient details, Doctor, Receptionist and HR. And also this Hospital Management System can manage all the records inside the hospital in an easy way and view their appointment.

An HMS-based project that uses Python and the Django Web Framework is fully operational. For the first- and second-year IT students’ college projects, the following Django project has all the crucial elements.

The users will be able to handle the hospital’s records thanks to a number of crucial features it contains. The idea behind both this system and the online application is simple, similar to real-life situations, and well-executed.

Read/Visit also the other programming language used in hospital management system.

Please scroll down to the bottom of this post for the Obtain button to download the free hospital management system project in Python Django with free source code files.

To start creating a Hospital Management System using Django, makes sure that you have PyCharm Professional IDE or any platform of django and its requirements Installed in your computer.

About ProjectProject Details
Project Name Hospital Management System Project In Django
Python version (Recommended)3.8 Version
Programming Language UsedPython Django Language
Developer Name
IDE Tool (Recommended)Sublime, Visual Studio, PyCharm
Project Type Web Application
Hospital Management System Project In Django Overview

About Hospital Management System Django

In particular, handling medical records is the major focus of this Python Django hospital management system project. The system also shows all of the appointments that are available along with their associated information.

The system also enables management of patient records. Evidently, the three sections of this project are Patient, Doctor, and Admin Panel.

A patient can easily register and begin using this web program, according to an overview of it. Initially, the admin must approve the action. In actuality, he or she must apply for it.

However, the administrator must take action on each application, which is contingent on their approval or disapproval. Every patient is required to describe their symptoms by default. The client can also examine their appointment and hospital expenses.

Admin Dashboard

An admin, on the other hand, has total command over the platform. In contrast to every other user, an admin account controls the system’s correct operation. The user can view a summary of all the data. The admin has the authority to accept or reject each request.

The admin can only schedule an appointment and release patients, by the way. However, the administrative staff can continue with the patient bills’ billing portion. An admin must provide information such as room charges, doctor fees with medication, and other charges in order to add billings.

The user can examine and download bill receipts in addition, though. The user can also list the records of the patient and the doctor.

In addition to these, the system provides a list of overall records for all applicants across various categories. In actuality, these sections also contain declined and pending records. The admin can also oversee all appointments.


To perform this python django project make sure that you have knowledge in the following:

  • CSS
  • HTML
  • Javascript
  • Database Management

Features of hospital management system in Django

  • Manage Patient
  • Manage Doctor
  • Manage Appointment
  • Login/Logout System

Method used:

  • account – In this method which is the method for all the accounts that being registered in this system.
  • hospital – In this method which is the main method of the system.
  • appointment – In this method which is the main method for creating an appointment to the patient.
  • user_profile – In this method which is the user profile account of the users.
  • template – In this method which is the design of the system.

How to create a Hospital Management System using Django?

Time needed: 5 minutes

Here are the steps on how to create a Hospital Management System Django

  • Step 1: Open file.

    First , open “pycharm professional” after that click “file” and click “new project“.
    hospital management system open file

  • Step 2: Choose Django.

    Second, after click “new project“, choose “Django” and click.
    hospital management system create django

  • Step 3: Select file location.

    Third, select a file location wherever you want.
    hospital management system file location

  • Step 4: Create application name.

    Fourth, name your application.
    hospital management system application name

  • Step 5: Click create.

    Fifth, finish creating project by clicking “create” button.
    hospital management system create project

  • Step 6: Start of coding.

    you are free to copy the following codes below in the given modules and method required.

Downloadable Source Code Below.

Anyway, if you want to level up your programming knowledge, especially python, try this new article I’ve made for you Best Python Projects with source code for Beginners. But If you’re going to focus on web development using Django, you can download here from our list of Best Django Projects with source code based on real-world projects.

How To Run The Hospital Management System In Django?

Step 1: Extract/unzip the file

Step 2: Go inside the project folder, open cmd and type the following commands to install Django Framework and run the webserver:

1.) pip install -r requirements.txt

2.) python runserver

Step 3: Finally, open the browser and go to localhost:8000


The system is built fully in Django Framework in back-end and HTML, CSS in front-end. It has full-featured user interface with all the functionalities

This Article is the way to enhance and develop our skills and logic ideas which is important in practicing the python programming language which is most well known and most usable programming language in many company.


If you have any questions or suggestions about Django Hospital Management System , please feel free to leave a comment below.

10 thoughts on “Django Hospital Management System With Source Code”

Leave a Comment