<p>Avoid using <code>user.is_anonymous</code> in templates. If for some reason the user is not set it will evaluate to False and this could expose sensitive content. Use <code>not is_authenticated</code> instead.</p>
By clicking “Accept cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.