diff options
| author | Tim Graham <timograham@gmail.com> | 2015-03-28 07:49:03 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-28 07:49:03 -0400 |
| commit | 3e132406e3a95b3fe54e75129013e10bf3e9e86a (patch) | |
| tree | b93e150eb3aade070404f1945b4d6c6f5ff25d69 /docs | |
| parent | 19e41a9799079ddae3ba94f95d25577ab4232037 (diff) | |
Fixed syntax highlighting in docs/topics/auth/default.txt
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth/default.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 8a9062f6cd..141114129b 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -309,8 +309,10 @@ You can tell them apart with if request.user.is_authenticated(): # Do something for authenticated users. + ... else: # Do something for anonymous users. + ... .. _how-to-log-a-user-in: @@ -347,8 +349,10 @@ If you have an authenticated user you want to attach to the current session # Redirect to a success page. else: # Return a 'disabled account' error message + ... else: # Return an 'invalid login' error message. + ... .. admonition:: Calling ``authenticate()`` first |
