shared a local host django

  1. Install Django using pip: pip install django

  2. Create a new Django project: django-admin startproject projectname

  3. Change into the project directory: cd projectname

  4. Start the development server: python manage.py runserver

  5. Access the Django development server by opening a web browser and navigating to: http://127.0.0.1:8000/