A Django-based web application for managing hotel bookings, rooms, menus, and user accounts.
- User registration, login, and authentication
- Room listing, booking, and availability management
- Menu management for hotel restaurant
- Admin dashboard for managing rooms, bookings, and users
- Media support for room images
- Responsive UI with templates for home, booking, menu, and more
- Python 3
- Django
- SQLite3 (default, can be changed)
- HTML, CSS, JavaScript
-
Clone the repository
git clone <repo-url> cd "New folder (2)/collage project/hotel"
-
Create and activate a virtual environment
python -m venv venv .\venv\Scripts\activate -
Install dependencies
pip install django
-
Apply migrations
python manage.py migrate
-
Create a superuser (admin)
python manage.py createsuperuser
-
Run the development server
python manage.py runserver
-
Access the application
- Visit
http://127.0.0.1:8000/in your browser - Admin panel:
http://127.0.0.1:8000/admin/
- Visit
accounts/ # User management
hotel/ # Main project settings and URLs
menu/ # Restaurant menu management
rooms/ # Room management and booking
static/ # Static files (CSS, JS, images)
media/ # Uploaded media (room images)
templates/ # HTML templates
manage.py # Django management script
db.sqlite3 # Default database
- Add room images to
media/rooms/ - Update templates in
templates/ - Extend models in
accounts/models.py,rooms/models.py,menu/models.py
This project is for educational purposes.