Django-respite

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 5

1.4.0

^^^^^

* Added support for Django 1.6.
* Added support for setting a content type's default format.
* Configured jQuery to be compliant with Respite's accept headers.

1.3.1

^^^^^

* Fixed a bug that caused multipart content to be parsed incorrectly for PUT and PATCH requests.

1.3.0

^^^^^

* Added support for YAML.
* ``RESPITE_DEFAULT_FORMAT`` now defaults to HTML.
* ``HTTP OPTIONS`` no longer supports HTML.
* You may now use templates for OPTIONS requests.
* Respite will now disregard ``accept`` headers with more than a single format.
* Added support for serialization of decimals and storage fields.
* Fixed a bug that caused overriding the request method to break under Django 1.3.1 and 1.3.2.
* Fixed a bug that prevented the context of some views from being transposed to underscore case.

1.2.0

^^^^^

* Added support for set serialization.
* You may now preprocess views with the ``before`` decorator, which replaces its
arguments with the given method's return values.
* Respite now yields a more helpful exception upon failing to serialize a context
that there is no template for.
* Fixed a bug that caused CSRF errors on POST request that override the request method.
* Fixed a bug that caused ``parse_content_type``'s return type to vary.
* Fixed a bug that caused ``parse_content_type``'s charset to include "charset=".
* Fixed a bug that caused ``request.POST`` to remain populated when the request method was overriden.
* ``Views.Error`` now inherits from ``Exception`` instead of ``StandardError``.

1.1.1

^^^^^

* You may now render errors more easily with ``View_error``.
* Respite will now automatically serialize DateQuerySet and ValuesListQuerySet.

1.1.0

^^^^^

* Respite now serializes JSONP.
* Fixed a bug that caused an AttributeError upon attempting to serialize a top-level list as XML.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.