1

/rest-auth/password/reset/django-rest-auth をインストールして構成しました。エンドポイント以外はすべて正常に動作しているようです。

それに POST を実行し、JSON 経由で電子メールを渡すと、500 - DoesNotExist エラーが返されます。

DoesNotExist at /rest-auth/password/reset/ Site matching query does not exist. Request Method: POST Request URL: http://.../rest-auth/password/reset/ Django Version: 1.9.5 Exception Type: DoesNotExist Exception Value: Site matching query does not exist. Exception Location: /home/.../.local/lib/python2.7/site-packages/django/db/models/query.py in get, line 387 Python Executable: /usr/bin/python Python Version: 2.7.10

何が原因でしょうか?

4

1 に答える 1