story 2023
as per the django documentation 4.2
installing tuModules
django project new project name as StoryApp
Basic steps:
- Install pip- Open command prompt and enter following command:-
- Setting up a virtual environment ¶
- Install django
- Start a project by following command-
- Create a virtual environment by giving this command in cmd- virtualenv env_site
- Change directory to env_site by this command- cd env_site
- Go to Scripts directory inside env_site and activate virtual environment- cd Scripts
- install pillo
python -m pip install -U pip
Check the version of python:
py --version
py -m venv todoenv
To activate the environment, run: ()
todoenv\Scripts\activate.bat
py -m pip install django
activate
pip install Pillow
when you alredy installed lowest version of pullow, you shoulf installing befor unstall
pip uninstall Pillow
cd geeks_site
python manage.py runserver
No comments