Django-respite

Latest version: v1.4.0

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.0.0

^^^^^

* Respite now parses JSON payloads in the body of POST, PUT and PATCH requests.
* Fixed a bug that caused Resourceupdate to raise a FieldError if request.PATCH
contained attributes that didn't match its model.
* Fixed a bug that caused a TypeError upon serializing 'None' as XML.

0.11

^^^^

* Respite now supports serialization of any object that defines a 'serialize' method.
* Fixed a bug that caused a TypeError upon attempting to serialize long types.
* Routes are no longer prefixed with the application name.
* The 'prefix' argument to 'resource' now defaults to an empty string.
* Resourcecreate now returns 201 Created instead of 303 See Other upon creating a new model.
* Respite now defaults to the first of the view's supported formats instead of RESPITE_DEFAULT_FORMAT
for the wildcard content type (*/*).
* View_render has a new argument; 'prefix_template_path'.
* Respite's default views now render 404s in the request format.

0.10.4

^^^^^^

* Respite now discards the '_method' parameter on HTTP POST.

0.10.3

^^^^^^

* Resource now has a 'routes' property that contains a list of routes for each of the default views.
* Respite now automatically serializes request context as XML if no XML template for the
view exists.

0.10.2

^^^^^^

* Respite now automatically serializes many-to-many fields
* Fixed a bug that caused Resourceupdate to fail form validation for models with many-to-many fields or foreign keys
* Fixed a bug that caused the model in the template context of Resourceindex to be in mixedCase rather than underscore_case.

0.10.1

^^^^^^

* Fixed a bug that caused JSON to be serialized as a byte stream with unicode code points.
* Respite now explicitly specifies the charset in the HTTP 'Content-Type' header.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.