{"issue":{"created_at":"2011-11-25T12:47:14Z","state":"closed","updated_at":"2011-11-25T19:42:45Z","user":{"gravatar_id":"77acae5bba8c7daed0edfd50a8ec4523","id":131186,"url":"https://api.github.com/users/dchaplinsky","login":"dchaplinsky","avatar_url":"https://secure.gravatar.com/avatar/77acae5bba8c7daed0edfd50a8ec4523?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"Traceback:\r\nFile \"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/core/handlers/base.py\" in get_response\r\n  105.                         response = middleware_method(request, callback, callback_args, callback_kwargs)\r\nFile \"/Users/dchaplinsky/Projects/foobar/env/src/firepython/firepython/middleware.py\" in process_view\r\n  369.         return self._profile_wrap(callback)(*args, **callback_kwargs)\r\nFile \"/Users/dchaplinsky/Projects/foobar/env/lib/python2.6/site-packages/admin_honeypot/views.py\" in admin_honeypot\r\n  18.     context['form'].is_valid()\r\nFile \"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/forms/forms.py\" in is_valid\r\n  121.         return self.is_bound and not bool(self.errors)\r\nFile \"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/forms/forms.py\" in _get_errors\r\n  112.             self.full_clean()\r\nFile \"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/forms/forms.py\" in full_clean\r\n  268.         self._clean_form()\r\nFile \"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/forms/forms.py\" in _clean_form\r\n  296.             self.cleaned_data = self.clean()\r\nFile \"/Users/dchaplinsky/Projects/foobar/env/lib/python2.6/site-packages/admin_honeypot/forms.py\" in clean\r\n  11.             message = _(\"Your e-mail address is not your username. Try '%s' instead.\") % user.username\r\n\r\nException Type: NameError at /admin/\r\nException Value: global name 'user' is not defined\r\n\r\n\r\nSeems like a copy-paste style, and this is effective way to reveal that site admin is using honeypot admin","assignee":null,"id":2349003,"number":3,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Exception when trying to log in with email instead of username","closed_at":"2011-11-25T19:13:15Z","html_url":"https://github.com/dmpayton/django-admin-honeypot/issues/3","url":"https://api.github.com/repos/dmpayton/django-admin-honeypot/issues/3","milestone":null},"action":"created","comment":{"created_at":"2011-11-25T19:42:45Z","updated_at":"2011-11-25T19:42:45Z","user":{"gravatar_id":"59204aa09b2f2f85f16663a525ff198a","id":149918,"url":"https://api.github.com/users/dmpayton","login":"dmpayton","avatar_url":"https://secure.gravatar.com/avatar/59204aa09b2f2f85f16663a525ff198a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I have just tagged a 0.1.2 release and uploaded it to PyPI.","id":2877531,"url":"https://api.github.com/repos/dmpayton/django-admin-honeypot/issues/comments/2877531"}}