The final test (test_login_required) in teachers/test_views.py, because trying to go to /profile/create/ without being logged in redirected to the default (/accounts/login), which doesn't exist. I found this setting via https://docs.djangoproject.com/en/1.0/topics/auth/#the-login-required-decorator -- if there's a better solution, I'm happy for you to change this.