A professional real estate website built with Django that allows users to browse, search, and view property listings.
- Property listing system with detailed information
- Advanced search and filtering options
- Image galleries and virtual tours
- Responsive design with Bootstrap 5
- Admin interface for property management
- Python 3.8 or higher
- Django 5.0 or higher
- Pillow (for image processing)
- django-crispy-forms
- crispy-bootstrap5
- Clone the repository:
git clone <repository-url>
cd real-estate- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install the required packages:
pip install django pillow django-crispy-forms crispy-bootstrap5- Apply database migrations:
python manage.py migrate- Create a superuser for admin access:
python manage.py createsuperuser- Run the development server:
python manage.py runserver- Visit http://127.0.0.1:8000/ in your web browser.
Access the admin interface at http://127.0.0.1:8000/admin/ using your superuser credentials to:
- Add, edit, and remove property listings
- Manage property images and virtual tours
- Update property details and amenities
properties/- Main application directorymodels.py- Database models for propertiesviews.py- View functions for handling requestsurls.py- URL routing configurationforms.py- Forms for property search and managementtemplates/- HTML templatesstatic/- Static files (CSS, JavaScript, images)media/- User-uploaded files
- Fork the repository
- Create a new branch for your feature
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.