diff options
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 d4de4cc708..7928d193d5 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -202,10 +202,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 |
