| 303 | | * ``messages`` -- A list of ``auth.Message`` objects for the currently |
|---|
| 304 | | logged-in user. |
|---|
| 305 | | * ``perms`` -- An instance of ``django.core.context_processors.PermWrapper``, |
|---|
| 306 | | representing the permissions that the currently logged-in user has. See |
|---|
| 307 | | the `permissions docs`_. |
|---|
| | 303 | |
|---|
| | 304 | * ``messages`` -- Returns a list of messages for the currently logged-in |
|---|
| | 305 | user (set with ``user.add_message()``). Behind the scenes, this calls |
|---|
| | 306 | ``request.user.get_and_delete_messages()``, which iterates over user's |
|---|
| | 307 | messages and returns the actual message before deleting the ``Message`` |
|---|
| | 308 | object. |
|---|
| | 309 | |
|---|
| | 310 | * ``perms`` -- An instance of |
|---|
| | 311 | ``django.core.context_processors.PermWrapper``, representing the |
|---|
| | 312 | permissions that the currently logged-in user has. See the `permissions |
|---|
| | 313 | docs`_. |
|---|