HttpResponse objects via authenticate() will now stop view execution
* Previously, if authenticate() returned an HttpResponse the view would continue with execution and display results to unauthenticated users. * Now the response from authenticate() is stored and if something exists (which needs to be a response) execution is stopped and that response is sent directly to the user.
Sets are serialized into lists, for two reasons: * sets can't hold unhashable objects such as dicts into which the Models are usually serialized * sets aren't JSON serializable Also, there is no information loss if serializing into lists, as long as the receiver doesn't treat the ordering in any special way.
added missing line for form.errors in ListEndpoint.post()
returns errors if form is not valid
index.rst: modify the docs so it's obvious we support custom user models
Cleaner and in sync with the future Django naming.