Answers for "django install"


installing django

#please check the python version
python -m pip install Django
Posted by: Guest on May-15-2020

django python install

# install django (basic, if path is not set yet)
py -m pip install django
# or set PATH to use pip:
setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts"
pip install django
# if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" [!]:
py -m pip install --trusted-host pip django
# if PermissionError: [WinError 5] Access is denied
py -m pip install --user django
# or via creating a virtual environment venv:
py -m venv c:\path\to\new\environment
# then execute:
Posted by: Guest on March-17-2021

how to install django on windows

Application Case: app

1 - Download and install python

2 - Create a dirctory in drive C for your python project

3 - Open Windows Command Prompt

4 - Navigate and change directory to your python project folder

5 - Then Type the below commands, press enter key after each command;
    c:\>py -m venv env

6 - After typing the commands, the prompt will to the below with (env) in front of c:\
    (env) C:\python-django>

7 - Then type the below command
    (env) C:\python-django>pip install django

8 - After django has finsihed insalling, type the below command to start a new project
    (env) C:\python-django>django-admin startproject hotmessages

9 - Change directory to project folder as below
    (env) C:\python-django>cd hotmessages

10 - Then type the below command
    (env) C:\python-django>python migrate

10 - Create a super user the controls main login
    (env) C:\python-django>python createsuperuser

11 - Provide your username and password to proceed

12 - Run python server to see your application
    (env) C:\python-django>python runserver

13 - Check Application running via, type this link on your browser

14 - Check the Admin Section via, type this link on your browser

15 - Create your app by typing the code below
    (env) C:\python-django>python startapp hotmessages_app
*Important things to do
(1) Ensure your add your app directory name in the settings folder as below
 Hope this helps
 - Atsu Emmanuel
 [email protected]
Posted by: Guest on November-29-2020

Install Django Windows

pip install django
Posted by: Guest on January-05-2021

django install

pip install Django==3.2.6
Posted by: Guest on August-21-2021

django install

...\> py --version
Posted by: Guest on January-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language