The Python Oracle

Django: is_authenticated and is_anonymous both return true after logout

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Track title: CC C Schuberts Piano Sonata No 13 D

--

Chapters
00:00 Question
02:40 Accepted answer (Score 11)
03:56 Answer 2 (Score 4)
04:22 Thank you

--

Full question
https://stackoverflow.com/questions/4298...

Accepted answer links:
[differences between jinja and django template syntax]: http://jinja.pocoo.org/switching/#django
[django-debug-toolbar]: https://github.com/robhudson/django-debu...
[AnonymousUser]: http://docs.djangoproject.com/en/dev/top...
[checking for an authenticated user]: http://docs.djangoproject.com/en/dev/top...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #django #templates #authentication #djangoregistration

#avk47