Project Overview
Library Management System Using Python Django is a complete role-based web application designed to manage real-world library operations through dedicated Student and Administrator workspaces. The system is built using Python and Django 5 with SQLite, Bootstrap 5, JavaScript and Chart.js.
The application manages books, students, departments, authors, categories, book copies, requests, issues, returns, due dates, fines, payments, notifications, activity logs and reports. It also provides configurable library rules, email notifications, CSV exports and JSON database backup functionality.
About the Library Management System
The system follows a role-based architecture with two primary roles: Administrator and Student. Students can search books, view availability, request books, monitor issued books, check due dates, manage fines and receive notifications. Administrators can manage library records, approve requests, issue and return books, manage fines, configure rules and generate reports.
Available Features
- Student Login and Administrator Login
- Login using username, email or student ID
- Role-based access control
- Logout functionality
- Change password
- Forgot password functionality
- Password reset through email
- Real-time password reset email delivery through SMTP
- Student management
- Department management
- Book management
- Book copy management
- Author management
- Category management
- Book search and filtering
- Grid and table views
- Student book requests
- Request validation
- Request approval and rejection
- Book issue management
- Direct book issue by staff
- Book return management
- Due-date management
- Automatic fine calculation
- Fine payment management
- Fine waiver management
- Due-date reminders
- In-app notifications
- Real-time email notifications
- Activity logging
- Transaction history
- Dashboard statistics
- Chart.js analytics
- Library reports
- Advanced reports
- CSV export
- JSON database backup
- Configurable library rules
- Responsive Bootstrap interface
- Book cover and image upload
Technology Stack
- Python
- Django 5
- HTML
- CSS
- Bootstrap 5
- JavaScript
- SQLite
- Chart.js
- Pillow
- Django Authentication System
Software and Tools Required
- Python 3
- Visual Studio Code
- Python Extension for VS Code
- Web Browser
- Command Prompt or VS Code Terminal
More Details and Full Documentation
View Library Management System Using Python Django Details
- Install Python 3 and Visual Studio Code.
- Extract the project ZIP file and open the project folder in Visual Studio Code.
- Open the VS Code terminal.
- Create a virtual environment using: python -m venv .venv
- Activate the virtual environment on Windows using: .venv\Scripts\activate
- Install the required packages using: pip install -r requirements.txt
- Create migrations using: python manage.py makemigrations accounts catalog circulation core
- Apply database migrations using: python manage.py migrate
- Create an administrator account using: python manage.py createsuperuser
- Follow the terminal instructions and enter the required administrator details.
- Configure SMTP environment variables if real email delivery is required.
- Use EMAIL_HOST, EMAIL_PORT, EMAIL_HOST_USER, EMAIL_HOST_PASSWORD and EMAIL_USE_TLS for SMTP configuration.
- For Gmail SMTP, use a Gmail App Password instead of the normal Gmail account password.
- Start the project using: python manage.py runserver
- Open the local Django server address in your browser.
- Use the Student portal for student library activities.
- Use the Staff or Administrator portal for library management operations.
Stuck while running it? Chat with us on WhatsApp for free installation help.
No reviews yet. Be the first to review this project.