Django require authentication on all pages
This recipe gives you a useful piece of Django Middleware that requires authentication for all views of your choice.
This recipe gives you a useful piece of Django Middleware that requires authentication for all views of your choice.
Stuck at home but interested in Python? Watch all talks from PyCon 2016 on the Official PyCon 2016 YouTube Channel.