diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-12 18:15:26 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-12 18:15:26 +0000 |
| commit | a70c04d83ba029dd09adb6b0df8fb18292591b74 (patch) | |
| tree | a72a6a2846532c6dfcd6704df3291ab74e453d31 /docs | |
| parent | 91f1b087598777563f0b99d060f121d802eeacb1 (diff) | |
Fixed #774 -- Fixed typos in docs/authentication.txt. Thanks, footless and jbennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/authentication.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/authentication.txt b/docs/authentication.txt index e0780902c1..e813f78e11 100644 --- a/docs/authentication.txt +++ b/docs/authentication.txt @@ -415,7 +415,7 @@ Thus, you can check permissions in template ``{% if %}`` statements:: <p>You don't have permission to do anything in the foo app.</p> {% endif %} -.. _template context: http://www.djangoproject.com/documentation/models/templates_python/ +.. _template context: http://www.djangoproject.com/documentation/templates_python/ Groups ====== @@ -458,7 +458,7 @@ a playlist:: # Create the playlist with the given songs. # ... request.user.add_message("Your playlist was added successfully.") - return render_to_response("playlists/create", context_instance=DjangoContext) + return render_to_response("playlists/create", context_instance=DjangoContext(request)) When you use ``DjangoContext``, the currently logged-in user and his/her messages are made available in the `template context`_ as the template variable |
