SerializerMixin: Becomes a superclass to the handler class, so that the handler inherits its methods
And a similar approached is followed for exception handling
Method *get_response* should be the main entry point, and in turn should call *serialize*
Exceptions use the SerializerMixin to serialize responses. For that, the *request* object is needed
Needed so that we can explicitly specify serialization format, despite value of Accept Header (like, in the case of exceptions)
All these functions are now obsolete
docs
Testing against Django 1.7
added exceptions.NotAcceptable class
Refactored test module
Better to test response status codes, straight off the HttpResponse object
Serializer to excel
refactored test module
oops
Tests for SerializerMixin.serialize_to_excel method
1) Added *charset=utf-8* in Content-type header. 2) Using
ensure_ascii=False in JSON serialization, so that the unicode characters are not escaped