auth()
[source]
If this processor is enabled, every RequestContext
will contain these variables:
-
user
– Anauth.User
instance representing the currently logged-in user (or anAnonymousUser
instance, if the client isn’t logged in). -
perms
– An instance ofdjango.contrib.auth.context_processors.PermWrapper
, representing the permissions that the currently logged-in user has.
Please login to continue.