ERROR Email is sent if valid email address is provided for password re

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
ERROR: Email is sent if a valid email address is provided for password reset
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/contrib/auth/tests/basic.py", line 75, in test_email_found
response = self.client.post('/password_reset/', {'email': 'staffmember@example.com'})
File "/usr/lib/python2.5/site-packages/django/test/client.py", line 286, in post
return self.request(**r)
File "/usr/lib/python2.5/site-packages/django/test/client.py", line 211, in request
response = self.handler(environ)
File "/usr/lib/python2.5/site-packages/django/test/client.py", line 65, in __call__
response = self.get_response(request)
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 126, in get_response
return self.handle_uncaught_exception(request, resolver, exc_info)
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 149, in handle_uncaught_exception
subject = 'Error (%s IP): %s' % ((request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'), request.path)
TypeError: 'in <string>' requires string as left operand