This is a simple web application built with Django that allows users to manage books and categories.
- Add, edit, and delete books
- Add, edit, and delete categories
- Search for books by title
- View book details
- View all books or books by category
- Track book status (available, sold, rental)
- Upload book images
- Python 3.x
- Django 3.x
-
Clone the repository:
git clone https://github.com/your-username/django-book-management.git
-
Navigate to the project directory:
cd django-book-management
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
-
On macOS and Linux:
source venv/bin/activate
-
On Windows:
venv\Scripts\activate
-
-
Apply migrations:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Access the application at http://localhost:8000 in your web browser.
- Home page: View all books and categories. Add new books and categories.
- Books page: Search for books by title and view details. Add, edit, or delete books.
- Categories page: Add, edit, or delete categories.
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.