Django Project Blueprints
上QQ阅读APP看书,第一时间看更新

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.