官术网_书友最值得收藏!

Starting out

By now you should have the application ready to test if you've followed the instructions given at the start of the chapter. Let's see what it looks like at the moment. Start the application by running the following command in your terminal from the application folder. You'll need to make sure that your virtual environment is activated before you can run this command:

> python manage.py runserver

Open http://127.0.0.1:8000 in your browser and you should see the following basic page:

Starting out

As you can see, we have links for Login and Create New Account. You should go ahead and create a new account. Log in with this account and you'll see the two links replaced with a Logout link. This is the basic application setup that we'll use moving forward. You should make sure that you are able to use the application at this point, as all further development will be built on top of this.

主站蜘蛛池模板: 三门县| 阿勒泰市| 凉山| 会同县| 绵阳市| 扶风县| 临清市| 莆田市| 无为县| 海宁市| 漳州市| 博客| 玉环县| 博爱县| 新竹县| 明星| 固阳县| 收藏| 鹤庆县| 石泉县| 繁峙县| 新宁县| 东乡县| 通州区| 婺源县| 仙居县| 恭城| 随州市| 闽清县| 钦州市| 金昌市| 呈贡县| 隆林| 定结县| 华池县| 益阳市| 元谋县| 瑞安市| 西昌市| 塔河县| 深水埗区|