A Library Management System built using Django to manage books and students. The system allows admins to add, edit, and delete books and student profiles, issue books to students, and manage book returns. Students can view available books and track the books issued to them.
- Django: Backend framework
- Bootstrap: Frontend framework for styling
- SQLite: Default database for development
- Install Python: Ensure Python is installed on your system.
- Install Dependencies: Run
pip install -r requirements.txt
to install the required packages. - Database Migrations:
- Run
python manage.py makemigrations
- Run
python manage.py migrate
- Run
- Create Superuser: Run
python manage.py createsuperuser
and enter the required details. - Run the Server: Execute
python manage.py runserver
and navigate to http://127.0.0.1:8000 in your browser to log in.
- Superuser/Admin: Can manage students, books, issue books, delete returned books, and edit/delete profiles.
- Regular User/Student: Can log in, view book lists, and see books issued to them.
- Students fill out an information form.
- Admin reviews the submitted information in the admin site.
- Admin verifies the student and creates a new student profile.
- Admin sends login credentials to the student via email.
Before adding new books, manually add the required genres and languages in the admin site at http://127.0.0.1:8000/admin. Regularly check the admin site for new student registrations.