Use pycharm develop web - django2.1.5 (a) into the pit to try a first step, the basic structures

 

First, the contact person should be able to install the python package needed to pip it by default (------ >>>>)

Using python -m django --version in the operation to check my own django version here is 2.1.5, from books and online tutorials I bought the big brother of view, a different version or a little difference, whether regular other places

Well, after you have installed django, open your pycharm, new project (project)

And then select django

Create (create)

Then you will see

If you do not have a directory on the left side, try to click alt + 1

Then your django has completed the initial set up, run good try clicking the green triangle at the top right

 

 When you see these prove that the local server is already running, your django theory ok, follow after this blue dot address you will enter into the welcome page

Yes, right there is the proof of your building is no problem, you can continue to learn ended down myself! ! !

Guess you like

Origin www.cnblogs.com/lovely-lisk/p/11029173.html