https://docs.djangoproject.com/en/3.0/topics/auth/default/#authentication-data-in-templates >Technically, these variables are only made available in the template context if you use RequestContext and the 'django.contrib.auth.context_processors.auth' context processor is enabled. It is in the default generated settings file. For more, see the RequestContext docs.
Обсуждают сегодня