Learn Django

Checkpoint

You've just built the first portion of the account detail page. At this point all you had to do was build the resources required to retrieve and display an account record. Follow the steps below to verify your work.

Verify on Local Computer

To verify the work on your local computer you need to start the dev web server.

1
2
3
4
5
6
# make sure you're at an activated terminal/cmd in the crmeasy dir
(venv)$ pwd
/<your_path>/crmeasy

# start the development server
(venv)$ python manage.py runserver

With the web server started, open the Account List page, and click on the account you previously created. If no account is showing on your account list page, open the account admin app to create one, then come back to the Account List and click on the link. It should display the record on the account detail page.

Verify on Heroku

If everything is working on your local computer you can deploy your changes to Heroku.

1
2
3
4
5
# push changes to Heroku
(venv)$ git push -f heroku account_detail_part_1:master

# open the Heroku app
(venv)$ heroku open

Once the Heroku app opens, login if necessary and access the account list page.

Track your progress with a free account