A modern Django application for managing a library's books, borrowers, and loan records.
- 📖 Complete book catalog management
- 👥 Borrower registration and management
- 📅 Loan tracking with due dates
- 🔍 Search functionality for books
- 🛡️ User authentication and permissions
- 📱 Mobile-responsive design
Before you begin, ensure you have the following installed:
- Python 3.9 or higher
- pip (Python package manager)
- Git
git clone https://github.com/d4nyphant0m/lib.git
cd libpython -m venv venv
source venv/bin/activatepython -m venv venv
venv\Scripts\activatepip install -r requirements.txtpython manage.py makemigrations
python manage.py migratepython manage.py createsuperuserpython manage.py runserverYour library management system is now running at http://127.0.0.1:8000/!
- Admin Interface: Access the admin panel at http://127.0.0.1:8000/admin/ to manage books, borrowers, and loans.
- Book Catalog: Browse the book collection on the home page.
- Borrower Management: Register and track library members.
- Loan Management: Record and track book loans with due dates.
lib/
├── config/ # Project settings
├── core/ # Main application
│ ├── models.py # Database models
│ ├── views.py # View controllers
│ ├── urls.py # URL routing
│ └── admin.py # Admin interface
├── templates/ # HTML templates
├── static/ # Static assets
├── manage.py # Django command-line utility
└── requirements.txt # Dependencies
- Create a new app:
python manage.py startapp app_name - Run tests:
python manage.py test - Generate migrations:
python manage.py makemigrations - Apply migrations:
python manage.py migrate - Collect static files:
python manage.py collectstatic
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Made with ❤️ using Django