diff options
| author | Ed Henderson <ed@sharpertool.com> | 2016-06-02 12:56:13 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-03 11:49:52 -0400 |
| commit | 6d0c9f95da7084abf09170ca5a06bd47fd20f0c4 (patch) | |
| tree | 1775055fec0d52fd2c8b701f4c2f8ad8983b370f /docs/howto/error-reporting.txt | |
| parent | a0ebfa0c56e16f8305d48dfa16666eb74e1350db (diff) | |
[1.9.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 9ae194d4e0..8ce5aaed47 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -207,10 +207,12 @@ filtered out of error reports in a production environment (that is, where @sensitive_post_parameters('pass_word', 'credit_card_number') def record_user_profile(request): - UserProfile.create(user=request.user, - password=request.POST['pass_word'], - credit_card=request.POST['credit_card_number'], - name=request.POST['name']) + UserProfile.create( + user=request.user, + password=request.POST['pass_word'], + credit_card=request.POST['credit_card_number'], + name=request.POST['name'], + ) ... In the above example, the values for the ``pass_word`` and |
