Blood Bank Management System Project in Django

This Blood Bank Management System in Django has functionalities of enlisting blood givers and through which individuals requiring blood can look and contact them after donors are registered. The blood request and recipient blood need to be approved or rejected by the system. The blood stock and blood donations are not limited to the users.

This websites gives highlights of admin board through which admin can contact all givers list, all blood banks needed during donations through admin.

Additionally, this system has a contact page where all contact details are accessible if a blood emergency happens and the website is inaccessible.

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

To start creating a Blood Bank Management System Project in python Django, makes sure that you have PyCharm Professional IDE Installed in your computer.

This Blood Bank Management System in Django also includes a free source code, just find the downloadable source code below and click download now.

About ProjectProject DetailsDefinition
Project Name Blood Bank Management System in DjangoThe Blood Bank Management System in Django is created using Python Django Framework. The system is built fully in Django Framework in back-end and HTML, CSS and JavaScript in front-end. Basically, the project includes tutorials and guides for creating a code.
Python version (Recommended)3.8 VersionPython 3.8 introduces some new syntax to the language, as well as a few small modifications to existing behavior and, most importantly, a slew of performance improvements, following in the footsteps of the previous 3.7 version.
Programming Language UsedPython Django LanguageDjango is a high-level Python web framework for building safe and maintainable websites quickly. Django is a web framework built by experienced developers that takes care of a lot of the heavy lifting so you can focus on developing your app instead of reinventing the wheel.
Developer Name itsourcecode.comFree projects containing source code in Java, PHP, Python, Django, VB.Net, Visual Basic, C, C++, C#, Javascript, and other languages are available on this website.
IDE Tool (Recommended)Sublime, Visual Studio, PyCharmSublime Text is a source code editor that is available for purchase. It comes with built-in support for a variety of programming and markup languages. Plugins, which are often community-built and maintained under free-software licenses, allow users to extend the functionality of the system. Sublime Text has a Python API to help with plugins.
Project Type Web ApplicationA web application, unlike computer-based software programs that operate locally on the device’s operating system, is application software that runs on a web server. The user uses a web browser with an active network connection to access web apps.
DatabaseSQLiteSQLite is a programming language that is used to create embedded software for devices such as televisions, cell phones, and cameras. It can handle HTTP requests with low to medium traffic. SQLite has the ability to compress files into smaller bundles with less metadata. SQLite is a temporary dataset that is used within an application to process data.
Blood Bank Management System in Django Overview

Features of Blood Bank Management System in Django

  • Homepage – For the homepage, you will be able to all the basic access in the whole system. Such as home, search, donor registration, login, contact us and about us.
  • Search – For the search, you will be able to search the blood type you want and the address of a donor person.
  • Donor Registration – For the donor registration, you will fill the forms. Such as your complete name, gender, date of birth, blood type, phone number, email address, home address and etc.
  • Contact Us – For the contact us, you will be able to see their address, phone number and email address.
  • About Us – For the about us, you will be able see the goals and objectives of blood bank management system.

Steps on how to create a Blood Bank Management System in Django With Source Code

Time needed: 5 minutes

Here are the steps on how to create a Blood Bank Management System in Django With Source Code

  • Step 1: Open file.

    First , open “pycharm professional” after that click “file” and click “new project“.
    Creating New Project for Blood Bank Management System Project in Django With Source Code

  • Step 2: Choose Django

    Second, after click “new project“, choose “Django” and click.
    Choosing django for Creating New Project for Blood Bank Management System Project in Django With Source Code

  • Step 3: Select file location.

    Third, select a file location wherever you want.
    Creating a location for blood bank management system in Django with Source Code

  • Step 4: Create application name.

    Fourth, name your application.
    Creating a application name for blood bank management system in Django with Source Code

  • Step 5: Click create.

    Fifth, finish creating project by clicking “create” button.
    Finish Creating Project for blood bank management system in Django with Source Code

  • Step 6: Start Coding.

    In this final step, we will now start adding functionality to our Django Framework by adding some functional codes.

This are the module to add functionality for Blood Bank Management System in Django

  • Create template for the homepage

After adding the code, you may click the run button to test the code. The output should look like as shown below.

homepage Blood Bank Management System Project in Django
  • Create template for the search page

In this section, we will learn on how create a templates for the search page. To start with, add the following code in your search.html under the folder of template files.

{% extends 'base.html' %}


{% block content %}

    <!-- Search -->
    <div class="search">
      <img src="{{ logo_img.logo_image.url }}" class="rounded-circle" alt="Logo" width="221" height="227">
      <form action="{% url 'donorlistsite' %}" method="POST">
          {% csrf_token %}
          <div class="input-group mb-3">
            {{forms_search.select_blood_group}}
            {{forms_search.select_location}}
          </div>
        <button type="submit" class="btn search_bt">Search</button>

      </form>
    </div>


   {% endblock  %}

After adding the code, you may click the run button to test the code. The output should look like as shown below.

search Blood Bank Management System Project in Django
  • Create template for the donor registration form

In this section, we will learn on how create a templates for the donor registration form. To start with, add the following code in your registrations .html under the folder of template files.

{% extends 'base.html' %}


{% block content %}


    <div class="container-fluid">
        <div class="form_body">
            <h2 class="text-center font-">Blood Donor Registration Form</h2>
            <form action="{% url 'dregdisplay' %}" method="post">
                {% csrf_token %}
                {{forms.as_p}}
                <button type="submit" class="btn reg_btn">Submit</button>
            </form>
        </div>
    </div>


{% endblock  %}

After adding the code, you may click the run button to test the code. The output should look like as shown below.

donor Blood Bank Management System Project in Django
  • Create template for the contact us page

In this section, we will learn on how create a templates for the contact us page. To start with, add the following code in your contact_us.html under the folder of template files.

{% extends 'base.html' %}


{% block content %}

<div class="about_page">
    <div class = "Contact_body">
    <!-- page image -->
    <header id="page-header">
        <div class="col-md-6 m-auto text-center text-light">
            <h1>Contact Us</h1>
            <p class="lead">Anybody Can Give Blood.
            <br>"Tears Of A Mother Cannot Save Her Child. But Your Blood Can."</p>
        </div>
    </header>

    <!-- address -->
    <div class="address text-center">
        <address class="p-5 font-weight-bold">{{ contact.contact_text }}</address>
    </div>
    </div>
</div>


{% endblock  %}

After adding the code, you may click the run button to test the code. The output should look like as shown below.

contact us Blood Bank Management System Project in Django
  • Create template for the about us

In this section, we will learn on how create a templates for the about us page. To start with, add the following code in your about_us.html under the folder of template files.

{% extends 'base.html' %}


{% block content %}


<!-- page image -->
<header id="page-header">
    <div class="col-md-6 m-auto text-center text-light">
        <h1>About Us</h1>
        <p class="lead">Every Blood Donor Is A Life Saver</p>
    </div>
</header>

<!--about-->
<div class="about text-center">
    <p class="font-weight-bold">{{ about.about_text }}</p>
</div>



{% endblock  %}

After adding the code, you may click the run button to test the code. The output should look like as shown below.

about us Blood Bank Management System Project in Django

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 Django Blood Bank Management System with Source Code?

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:
• pip install Django Pillow
• python manage.py runserver
Step 3: Finally, open the browser and go to http://127.0.0.1:8000/

For admin panel:

  • Username: admin
  • Password: admin

Summary

In summary, this Blood Bank Management System in Django with Source Code can be useful to students or professional who wants to learn python programming language. This project can also be modified to fit your personal requirements. Hope this project will help you to improve your skills. Happy Coding!

Inquiries

If you have any questions or suggestions about Blood Bank Management System Project in Django with Source Code, please feel free to leave a comment below.

6 thoughts on “Blood Bank Management System Project in Django”

Leave a Comment