A comprehensive Library Management System built with Django. This project includes functionalities for managing books, authors, categories, publishers, and languages. It also features search functionalities to easily find books based on various criteria.
- Add, update, and delete books, authors, categories, publishers, and languages
- Search books by name, author, category, publisher, ISBN
- File upload for book files and download
- Recently added books display on the homepage
.
└── elibrary-django
├── env
├── library
│ ├── __pycache__
│ ├── migrations
│ ├── __init__.py
│ ├── apps.py
│ ├── tests.py
│ ├── views.py
│ ├── models.py
│ └── admin.py
├── media
│ └── books
│ └── The_Book_Author1_Sample.pdf
├── templates
│ ├── author-add.html
│ ├── author-delete-confirm.html
│ ├── author-edit.html
│ ├── book-add.html
│ ├── book-delete-confirm.html
│ ├── book-edit.html
│ ├── book-get.html
│ ├── book-search.html
│ ├── book.html
│ ├── category-add.html
│ ├── category-delete.html
│ ├── category-delete-confirm.html
│ ├── category-edit.html
│ ├── category.html
│ ├── index.html
│ ├── language-add.html
│ ├── language-delete.html
│ ├── language-delete-confirm.html
│ ├── language-edit.html
│ ├── language.html
│ ├── publisher-add.html
│ ├── publisher-delete-confirm.html
│ ├── publisher-delete.html
│ ├── publisher-edit.html
│ └── publisher.html
├── static
│ ├── css
│ │ └── styles.css
│ └── images
│ └── LMS_Banner.jpg
├── LMS
│ ├── __pycache__
│ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── manage.py
└── db.sqlite3
- Python 3.6+
- Django 3.2+
- Git
- Install Python
- Install Django
pip install django
- Install Virtual Environment
pip install virtualenv
- Clone the repository
git clone https://github.com/pokharelsugam/elibrary-django.git cd elibrary-django
- Create a virtual environment and activate it.
virtualenv env env\scripts\activate pip install django
- Run the migrations
python manage.py makemigrations #may or may not be required python manage.py migrate #must be required
- Create a superuser
python manage.py createsuperuser
- Start the development server
python manage.py runserver
- Navigate to http://127.0.0.1:8000/admin to access the admin interface and manage your library data.
- Use the navigation bar to add and view books, authors, categories, publishers, and languages.
- Use the search functionality to find books based on various criteria.