Django_template

Django Template

Overview

Django Template is a simple business web page based on Django. It includes an image slider to showcase various images related to the business and a contact form for users to get in touch.

Preview

Features

Prerequisites

Before you begin, ensure you have the following prerequisites installed on your system:

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/devnamdev2003/django-template.git
cd django-template
  1. Create a virtual environment and activate it (recommended):
# Windows
python -m venv venv
venv\Scripts\activate

# macOS/Linux
python3 -m venv venv
source venv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run database migrations:
python manage.py migrate
  1. Create a superuser (optional but useful for testing the contact form):
python manage.py createsuperuser
  1. Run the Django development server:
python manage.py runserver
  1. Access the web page in your browser by navigating to http://localhost:8000/.

License

This project is licensed under the MIT License.