{"action":"created","issue":{"url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/issues/250","repository_url":"https://api.github.com/repos/nsupdate-info/nsupdate.info","labels_url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/issues/250/comments","events_url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/issues/250/events","html_url":"https://github.com/nsupdate-info/nsupdate.info/issues/250","id":124723676,"number":250,"title":"Internal Server Error: /accounts/password_reset/","user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/milestones/13","html_url":"https://github.com/nsupdate-info/nsupdate.info/milestones/0.12%20release","labels_url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/milestones/13/labels","id":1294381,"number":13,"title":"0.12 release","description":"","creator":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":18,"state":"open","created_at":"2015-09-07T22:09:20Z","updated_at":"2016-09-05T14:53:00Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-04T09:34:05Z","updated_at":"2016-09-24T17:22:38Z","closed_at":null,"body":"```\r\nInternal Server Error: /accounts/password_reset/\r\nTraceback (most recent call last):\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/handlers/base.py\", line 132, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/utils/decorators.py\", line 110, in _wrapped_view\r\n    response = view_func(request, *args, **kwargs)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/contrib/auth/views.py\", line 182, in password_reset\r\n    form.save(**opts)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/contrib/auth/forms.py\", line 256, in save\r\n    html_email_template_name=html_email_template_name)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/contrib/auth/forms.py\", line 206, in send_mail\r\n    body = loader.render_to_string(email_template_name, context)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/loader.py\", line 99, in render_to_string\r\n    return template.render(context, request)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/backends/django.py\", line 74, in render\r\n    return self.template.render(context)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/base.py\", line 210, in render\r\n    return self._render(context)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/base.py\", line 202, in _render\r\n    return self.nodelist.render(context)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/base.py\", line 905, in render\r\n    bit = self.render_node(node, context)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/base.py\", line 919, in render_node\r\n    return node.render(context)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/defaulttags.py\", line 507, in render\r\n    six.reraise(*exc_info)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/template/defaulttags.py\", line 493, in render\r\n    url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/urlresolvers.py\", line 578, in reverse\r\n    return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))\r\n  File \"/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/urlresolvers.py\", line 495, in _reverse_with_prefix\r\n    (lookup_view_s, args, kwargs, len(patterns), patterns))\r\nNoReverseMatch: Reverse for 'auth_password_reset_confirm' with arguments '('XXXXXX', u'xxx-xxxxxxxxxxxxxx')' and keyword arguments '{}' not found. 0 pattern(s) tried: []\r\n\r\nRequest repr(): \r\n<WSGIRequest\r\npath:/accounts/password_reset/,\r\nGET:<QueryDict: {}>,\r\nPOST:<QueryDict: {u'email': [u'xxxxxxx1994@gmail.com'], u'csrfmiddlewaretoken': [u'xxxxxxxxxxxxxxxxxxxxxxx']}>,\r\nCOOKIES:{'csrftoken': 'xxxxxxxxxxxxxxxxxx',\r\n 'sessionid': 'xxxxxxxxxxxxxxxxxxxxxxxxx'},\r\nMETA:{'CONTENT_LENGTH': '82',\r\n 'CONTENT_TYPE': 'application/x-www-form-urlencoded',\r\n u'CSRF_COOKIE': u'xxxxxxxxxxxxxxxxxxxxxxxxx',\r\n 'DOCUMENT_ROOT': '/srv/nsupdate.info/htdocs',\r\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',\r\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\r\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',\r\n 'HTTP_CACHE_CONTROL': 'max-age=0',\r\n 'HTTP_CONNECTION': 'close',\r\n 'HTTP_CONTENT_LENGTH': '82',\r\n 'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded',\r\n 'HTTP_COOKIE': 'sessionid=xxxxxxxxxxxxxxxxxxxxxxx; csrftoken=xxxxxxxxxxxxxxxxxxxx',\r\n 'HTTP_HOST': 'www.nsupdate.info',\r\n 'HTTP_ORIGIN': 'https://www.nsupdate.info',\r\n 'HTTP_REFERER': 'https://www.nsupdate.info/accounts/password_reset/',\r\n 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',\r\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36',\r\n 'HTTP_X_FORWARDED_FOR': '2401:e800:xxxx:xxxx:a053:f2ea:xxxx:xxxx',\r\n 'HTTP_X_FORWARDED_PROTO': 'https',\r\n 'HTTP_X_REAL_IP': '2401:e800:xxxx:xxxx:a053:f2ea:xxxx:xxxx',\r\n 'PATH_INFO': u'/accounts/password_reset/',\r\n 'QUERY_STRING': '',\r\n 'REMOTE_ADDR': '2401:e800:xxxx:xxxx:a053:f2ea:xxxx:xxxx',\r\n 'REMOTE_PORT': '',\r\n 'REQUEST_METHOD': 'POST',\r\n 'REQUEST_URI': '/accounts/password_reset/',\r\n u'SCRIPT_NAME': u'',\r\n 'SERVER_NAME': 'www.nsupdate.info',\r\n 'SERVER_PORT': '80',\r\n 'SERVER_PROTOCOL': 'HTTP/1.0',\r\n 'UWSGI_APPID': 'nsupdate',\r\n 'UWSGI_SCHEME': 'https',\r\n 'uwsgi.core': 3,\r\n 'uwsgi.node': 'web.thinkmo.de',\r\n 'uwsgi.version': '2.0.7-debian',\r\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f53083a4300>,\r\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\r\n 'wsgi.input': <uwsgi._Input object at 0x7f52fee71840>,\r\n 'wsgi.multiprocess': False,\r\n 'wsgi.multithread': True,\r\n 'wsgi.run_once': False,\r\n 'wsgi.url_scheme': 'https',\r\n 'wsgi.version': (1, 0)}>\r\n```"},"comment":{"url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/issues/comments/249376580","html_url":"https://github.com/nsupdate-info/nsupdate.info/issues/250#issuecomment-249376580","issue_url":"https://api.github.com/repos/nsupdate-info/nsupdate.info/issues/250","id":249376580,"user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T17:22:38Z","updated_at":"2016-09-24T17:22:38Z","body":"First try to fix this:\r\n```\r\ndiff --git a/nsupdate/settings/base.py b/nsupdate/settings/base.py\r\nindex 74876d2..2771fb5 100644\r\n--- a/nsupdate/settings/base.py\r\n+++ b/nsupdate/settings/base.py\r\n@@ -156,10 +156,12 @@ ROOT_URLCONF = 'nsupdate.urls'\r\n WSGI_APPLICATION = 'nsupdate.wsgi.application'\r\n \r\n INSTALLED_APPS = (\r\n+    'django.contrib.admin',\r\n+    'django.contrib.sites',\r\n+    'registration',\r\n     'django.contrib.auth',\r\n     'django.contrib.contenttypes',\r\n     'django.contrib.sessions',\r\n-    'django.contrib.sites',\r\n     'django.contrib.messages',\r\n     'django.contrib.staticfiles',\r\n     'django.contrib.humanize',\r\n@@ -170,8 +172,6 @@ INSTALLED_APPS = (\r\n     'nsupdate.api',\r\n     'nsupdate.main',\r\n     'bootstrapform',\r\n-    'registration',\r\n-    'django.contrib.admin',\r\n     'django_extensions',\r\n )\r\n```\r\nLast match is the one that is used when seeking the right template.\r\n"}}
{"actor":{"display_login":"ThomasWaldmann"}}