Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Setup Django framework in wondows

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 764
    Comment on it

    Hi All,

    If you want to setup Django framework in your system then you just need to read this blog only .

    •  Python Installation : - You need to install python first.You can install python from here . I'm using 3.5.2 version of python and setting up environment variable like :-

    Goto Control Panel\System and Security\System

    Click on  Advanced system settings

    On system property window , click on environment variable

    On system variable fin path and click to edit then add path of these directory:-

    • Lib
    • DLLs
    • lib-tk
    • python35 (python you installed)
    • Scripts

    just add semicolon (;) and add you path which look like :- C:\Users\XYZ\AppData\Local\Programs\Python\Python35\Lib;C:\Users\XYZ\AppData\Local\Programs\Python\Python35\DLLs;C:\Users\XYZ\AppData\Local\Programs\Python\Python35\Lib\lib-tk;C:\Users\XYZ\AppData\Local\Programs\Python\Python35;C:\Users\XYZ\AppData\Local\Programs\Python\Python35\Scripts;


    • Upgarde your pip because you will unable to install if your pip in not latest one ,just run below command on your command prompt:-

    python -m pip install --upgrade pip


    •  Create dedicated virtual environment for your project 
    command used to install virtual environment wrapper :- pip install virtualenvwrapper-win

    make virtual environment for your project :-

    mkvirtualenv myproject

    •  Now you can run below command to install django :-
    pip install django

    Now your project is setup completely. you can start coding. Enjoy !!

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: