auth() [source]
If this processor is enabled, every RequestContext will contain these variables:
-
user– Anauth.Userinstance representing the currently logged-in user (or anAnonymousUserinstance, 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.