Learn Django

Chapter Intro

In the last chapter you learned how to build the account detail view, template, and URL. This allowed you to view the details of an account. This chapter builds off of that work to give users the ability to create and edit accounts.

In this chapter you'll learn how to perform the following tasks.

  • Create new accounts
  • Edit existing accounts

Level Set

Follow these steps to reset your project to a known working version.

1
2
3
4
5
6
7
8
# checkout the master
(venv)$ git checkout master

# checkout the baseline version for the current chapter
(venv)$ git checkout step-9

# create a new branch from this version
(venv)$ git checkout -b account_detail_part_2

Track your progress with a free account