I got this error this morning when trying to test my Django app: Internal Server Error: /staff/acts/email/ Traceback (most recent call last): File "/path/to/virtualenv/myenv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/path/to/virtualenv/myenv/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view return view_func(request, *args, **kwargs) File "/path/to/app/views.py", line 519, in email_main confirm_sent = send_email(confirm_email_form, 'confirm', request) File "/path/to/virtualenv/myenv/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view if test_func(request.user): AttributeError: 'EmailTemplateForm' object has no attribute 'user' I figured out the reason causing this issue is