In this third video we will look at protecting the login redirect page using user sessions as well as a login_required decorator. Additionally, I will show you how to debug code while the server is running.
For more info please visit - http://www.realpythonfortheweb.com
Full tutorial: http://www.realpython.com/?p=608