{"action":"created","issue":{"url":"https://api.github.com/repos/stormpath/stormpath-django/issues/48","labels_url":"https://api.github.com/repos/stormpath/stormpath-django/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/stormpath/stormpath-django/issues/48/comments","events_url":"https://api.github.com/repos/stormpath/stormpath-django/issues/48/events","html_url":"https://github.com/stormpath/stormpath-django/issues/48","id":95000666,"number":48,"title":"API 400 errors don't become validation errors with user creation in admin","user":{"login":"smcoll","id":321438,"avatar_url":"https://avatars.githubusercontent.com/u/321438?v=3","gravatar_id":"","url":"https://api.github.com/users/smcoll","html_url":"https://github.com/smcoll","followers_url":"https://api.github.com/users/smcoll/followers","following_url":"https://api.github.com/users/smcoll/following{/other_user}","gists_url":"https://api.github.com/users/smcoll/gists{/gist_id}","starred_url":"https://api.github.com/users/smcoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcoll/subscriptions","organizations_url":"https://api.github.com/users/smcoll/orgs","repos_url":"https://api.github.com/users/smcoll/repos","events_url":"https://api.github.com/users/smcoll/events{/privacy}","received_events_url":"https://api.github.com/users/smcoll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stormpath/stormpath-django/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-14T17:51:15Z","updated_at":"2015-10-02T13:33:48Z","closed_at":null,"body":"When creating a new StormpathUser in the admin's create view, if the password doesn't meet some requirement (try a too-short password like 'foo'), a 500 is raised, instead of a validation error in the form:\r\n\r\nError at /admin/django_stormpath/stormpathuser/add/\r\n{u'status': 400, u'developerMessage': u'Account password minimum length not satisfied.', u'message': u'Account password minimum length not satisfied.', u'code': 2007, u'moreInfo': u'http://docs.stormpath.com/errors/2007'}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/stormpath/stormpath-django/issues/comments/145021102","html_url":"https://github.com/stormpath/stormpath-django/issues/48#issuecomment-145021102","issue_url":"https://api.github.com/repos/stormpath/stormpath-django/issues/48","id":145021102,"user":{"login":"avojnovicDk","id":5756635,"avatar_url":"https://avatars.githubusercontent.com/u/5756635?v=3","gravatar_id":"","url":"https://api.github.com/users/avojnovicDk","html_url":"https://github.com/avojnovicDk","followers_url":"https://api.github.com/users/avojnovicDk/followers","following_url":"https://api.github.com/users/avojnovicDk/following{/other_user}","gists_url":"https://api.github.com/users/avojnovicDk/gists{/gist_id}","starred_url":"https://api.github.com/users/avojnovicDk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avojnovicDk/subscriptions","organizations_url":"https://api.github.com/users/avojnovicDk/orgs","repos_url":"https://api.github.com/users/avojnovicDk/repos","events_url":"https://api.github.com/users/avojnovicDk/events{/privacy}","received_events_url":"https://api.github.com/users/avojnovicDk/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T13:33:48Z","updated_at":"2015-10-02T13:33:48Z","body":"I'm reopening this, as I still have to call `validate_password` in django_stormpath, once it gets released in the Stormpath Python SDK."}}