Django-nap

Latest version: v0.30.10

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

Scan your dependencies

Page 5 of 12

0.14.2

====================

.. admonition:: WARNING: Removed module

The module nap.exceptions has been completely removed.

Enhancements:

+ Switched custom ValidationError / ValidationErrors to django's
ValidationError
+ Added DataMapper library
+ Added CBV mixins for composing API Views that use DataMappers

0.14.1.1

=========

Bug Fixes:

+ Add required `name` attribute to AppConfig [thanks bobobo1618]

0.14.1

=======

Enhancements:

+ Import REASON_CODES from Django
+ Use Django's JsonResponse if available, or our own copy of it.
+ Unify all json handling functions into utils.JsonMixin
+ Add RPCView introspection
+ Use Django's vendored copy of 'six'
+ Add new runtests script

Bug Fixes:

+ Cope with blank content encoding values in RPC Views
+ Raise a 404 on invalid page_size value
+ Validate the data we got in RPC View is passable as \**kwargs
+ ISO_8859_1 isn't defined in older Django versions
+ Emulate django template lookups in digattr by ignoring callables flagged
'do_not_call_in_templates'

0.14.0

=======

.. admonition:: WARNING: API breakage

A large reorganisation of the code was undertaken.

Now there are 3 major top-level modules:
- serialiser
- rest
- rpc

Enhancements:

+ Added functional RPC system [merged from django-marionette]
+ Made most things accessible in top-level module

0.13.9

=======

Enhancements:

+ Added Django 1.7 AppConfig, which will auto-discover on ready
+ Added a default implementation of ModelPublsiher.list_post_default
+ Tidied code with flake8

Bug Fixes:

+ Fixed use of wrong argument in auth.permit_groups

0.13.8

=======

Enhancements:

+ Added prefetch_related and select_related support to ExportCsv action
+ Added Field.virtual to smooth changes to Field now raising AttributeError,
and support optional fields

Page 5 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.