if i add fost_authn.FostBackend to AUTHENTICATION_BACKENDS, i get many failures in ./manage.py tests
Creating test database for alias 'default'...
..............................................................................................................................................................................ERROR:django.request:Internal Server Error: /add/debug/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 82, in debug
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/info/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 90, in info
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/success/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 98, in success
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/warning/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 106, in warning
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/error/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 114, in error
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
.........................ERROR:django.request:Internal Server Error: /add/debug/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 82, in debug
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/info/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 90, in info
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/success/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 98, in success
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/warning/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 106, in warning
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/error/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 114, in error
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
..............................ERROR:django.request:Internal Server Error: /add/debug/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 82, in debug
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/info/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 90, in info
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/success/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 98, in success
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/warning/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 106, in warning
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/error/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 114, in error
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
........................ERROR:django.request:Internal Server Error: /add/debug/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 82, in debug
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/info/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 90, in info
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/success/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 98, in success
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/warning/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 106, in warning
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
ERROR:django.request:Internal Server Error: /add/error/
Traceback (most recent call last):
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/tests/urls.py", line 31, in add
getattr(messages, message_type)(request, msg)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 114, in error
fail_silently=fail_silently)
File "/home/sajal/envs/cdnplanet/local/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/messages/api.py", line 26, in add_message
raise MessageFailure('Without the django.contrib.messages '
MessageFailure: Without the django.contrib.messages middleware, messages can only be added to authenticated users.
........................................................................................
----------------------------------------------------------------------
Ran 341 tests in 13.980s
OK
The test runs fine without the FostBackend added.
Am I doing something wrong?