Library Management System in Python using Django Free Source Code


Library Management System using Django in Python

This project is entitled Library Management System. This is a web-based application developed in Python and Django Framework. This simple python project manages the School Library's Borrowing Transaction. It provides an online and automated platform for the management to store and retrieve the books and borrowing records efficiently and effectively. The project was developed also using the Bootstrap Framework for the user interface and jQuery to give end-user a better experience while using the application. It also consists of user-friendly features and functionalities.

About the Library Management System

I developed this project using the following:

  • Python
  • Django
  • SQLite3
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Fontawesome
  • Bootstrap v5

This Library Management System Project can be accessed only by the Library Management. It requires the librarian or staff to log in with their system credential in order to gain access to the features and functionalities of the said system. The users can store and list the Book Category, Book Sub Category, Book, Student, and Transaction Records. The project consists of CRUD (Create, Read, Update, and Delete) operations in each list or record. Here, library staff or librarians can easily store the borrowing transaction of each student.

The main goal of this Library Management System in Python Django is to give the new programmers a source code to refer to or to start with that are planning to develop such like this system. This might help you to understand or you might get an idea of the processes or simple techniques for developing a library system of any related projects using Django Framework of Python.


  • Login
  • Home
    • Displays the Summary of the List
  • Category Management
    • Add New Category
    • List All Categories
    • View Category Details
    • Edit/Update Category Details
    • Update Category Status
    • Delete Category
  • Sub Category Management
    • Add New Sub Category
    • List All Sub Categories
    • View Sub Category Details
    • Edit/Update Sub Category Details
    • Update Sub Category Status
    • Delete Sub Category
  • Book Management
    • Add New Book
    • List All Books
    • View Book Details
    • Edit/Update Book Details
    • Update Book Status
    • Delete Book
  • Student Management
    • Add New Student
    • List All Students
    • View Student Details
    • Edit/Update Student Details
    • Update Student Status
    • Delete Student
  • Borrowing Transaction Management
    • Add New Borrowing Transaction
    • List All Borrowing Transactions
    • View Borrowing Transaction Details
    • Edit/Update Borrowing Transaction Details
    • Update Borrowing Transaction Status
    • Delete Borrowing Transaction
  • User Management
    • Add New User
    • List All Users
    • View User Details
    • Edit/Update User Details
    • Update User Status
    • Delete User
  • Profile Page
  • Update Profile
  • Update Password
  • Logout

Sample Snapshots

Login Page

Library Management System

Dashboard Page

Library Management System

Book Details Modal

Library Management System

Student Details Modal

Library Management System

Borrowing Transaction Details

Library Management System

The system source code is free to download on this project and only for educational purposes only. The source code is not that so tricky which means not that difficult to understand. Feel free to download and modify the source code the way you wanted.

How to Run

Download/Install the following

  • Python (I used v3.9.1)
  • PIP (for python modules installation)


  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Open your Terminal/Command Prompt window. (make sure to add "python" and "pip" in your environment variables)
  3. Change the working directory to the extracted source code folder. i.e. cd C:\Users\Personal-23\Desktop\django_lms
  4. Run the following commands:
    • pip install -r requirements.txt
    • python migrate
    • python runserver
  5. Keep the terminals open and running.
  6. Open a web browser and browse http://localhost:8000/ or

Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred.

Access Information for AdminSite

Username: admin
Password: admin123 for the Django's Admin Site.


That's it! I hope this will help you with what you are looking for. Maybe you'll find this Library Management System useful and can help you with your future Python Django Projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byMonu raut (not verified)on Mon, 01/29/2024 - 12:44

Can you message me on Instagram issac_plays_ How I can see the database in SQL

Add new comment