./www/py-djangorestframework, Lightweight REST framework for Django

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.11.0, Package name: py37-djangorestframework-3.11.0, Maintainer: adam

Django REST framework is a lightweight REST framework for Django, that aims to
make it easy to build well-connected, self-describing RESTful Web APIs.

Features:
* Automatically provides an awesome Django admin style browse-able
self-documenting API.
* Clean, simple, views for Resources, using Django's new class based views.
* Support for ModelResources with out-of-the-box default implementations and
input validation.
* Pluggable parsers, renderers, authentication and permissions - Easy to
customise.
* Content type negotiation using HTTP Accept headers.
* Optional support for forms as input validation.
* Modular architecture - MixIn classes can be used without requiring the
Resource or ModelResource classes.


Required to run:
[www/py-django] [devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d1719570438e1ef48d784b1613c92c738fe3a3c9
RMD160: 891d0a705f1df2a6c8c3191d0f69aef48cecc863
Filesize: 773.133 KB

Version history: (Expand)


CVS history: (Expand)


   2019-12-15 22:38:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.11.0

Django REST framework 3.11

The 3.11 release adds support for Django 3.0.

Our supported Python versions are now: 3.5, 3.6, 3.7, and 3.8.
Our supported Django versions are now: 1.11, 2.0, 2.1, 2.2, and 3.0.
This release will be the last to support Python 3.5 or Django 1.11.

* OpenAPI Schema Generation Improvements
* Validator / Default Context
   2019-11-14 18:27:16 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.10.3

3.10.3
Include API version in OpenAPI schema generation, defaulting to empty string.
Add pagination properties to OpenAPI response schemas.
Add missing "description" property to OpenAPI response schemas.
Only include "required" for non-empty cases in OpenAPI schemas.
Fix response schemas for "DELETE" case in OpenAPI schemas.
Use an array type for list view response schemas.
Use consistent lowerInitialCamelCase style in OpenAPI operation IDs.
Fix minLength/maxLength/minItems/maxItems properties in OpenAPI schemas.
Only call FileField.url once in serialization, for improved performance.
Fix an edge case where throttling calcualtions could error after a configuration \ 
change.

3.10.2
Various OpenAPI schema fixes.
Ability to specify urlconf in include_docs_urls.

3.10.1
Don't include autocomplete fields on TokenAuth admin, since it forces \ 
constraints on custom user models & admin.
Require uritemplate for OpenAPI schema generation, but not coreapi.

3.10.0
Switch to OpenAPI schema generation.
Drop Python 2 support.
Add generateschema --generator_class CLI option
Updated PyYaml dependency for OpenAPI schema generation to pyyaml>=5.1
Resolve DeprecationWarning with markdown.
Use user.get_username in templates, in preference to user.username.
Fix for cursor pagination issue that could occur after object deletions.
Fix for nullable fields with source="*"
Always apply all throttle classes during throttling checks.
Updates to jQuery and Markdown dependencies.
Don't strict disallow redundant SerializerMethodField field name arguments.
Don't render extra actions in browable API if not authenticated.
Strip null characters from search parameters.
   2019-05-13 17:52:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: updated to 3.9.4

3.9.4
This is a maintenance release that fixes an error handling bug under Python 2.
   2019-04-30 09:57:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: updated to 3.9.3

3.9.3
This is the last Django REST Framework release that will support Python 2. Be \ 
sure to upgrade to Python 3 before upgrading to Django REST Framework 3.10.
Adjusted the compat check for django-guardian to allow the last guardian version \ 
(v1.4.9) compatible with Python 2
   2019-03-04 09:29:25 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.9.2

3.9.2:
Routers: invalidate _urls cache on register()
Deferred schema renderer creation to avoid requiring pyyaml.
Added 'request_forms' block to base.html
Fixed SchemaView to reset renderer on exception.
Update Django Guardian dependency.
Ensured support for Django 2.2.
Made templates compatible with session-based CSRF.
Adjusted field validators to accept non-list iterables.
Added SearchFilter.get_search_fields() hook.
Fix DeprecationWarning when accessing collections.abc classes via collections
Allowed Q objects in limit_choices_to introspection.
Added lazy evaluation to composed permissions.
Add negation ~ operator to permissions composition
Avoided calling distinct on annotated fields in SearchFilter.
Introduced RemovedInDRF…Warning classes to simplify deprecations.
   2019-01-29 09:34:06 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-djangorestframework: PLIST fix
   2019-01-16 20:24:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: updated to 3.9.1

3.9.1
Resolve XSS issue in browsable API.
Upgrade Bootstrap to 3.4.0 to resolve XSS issue.
Resolve issues with composable permissions.
Respect limit_choices_to on foreign keys.
   2018-10-23 09:57:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.9.0

3.9.0:
Improvements to ViewSet extra actions
Fix action support for ViewSet suffixes
Allow action docs sections
Deprecate the Router.register base_name argument in favor of basename.
Deprecate the Router.get_default_base_name method in favor of \ 
Router.get_default_basename.
Change CharField to disallow null bytes. To revert to the old behavior, subclass \ 
CharField and remove ProhibitNullCharactersValidator from the validators. python \ 
class NullableCharField(serializers.CharField): def __init__(self, *args, \ 
**kwargs): super().__init__(*args, **kwargs) self.validators = [v for v in \ 
self.validators if not isinstance(v, ProhibitNullCharactersValidator)]
Add OpenAPIRenderer and generate_schema management command.
Add OpenAPIRenderer by default, and add schema docs.
Allow permissions to be composed
Allow nullable BooleanField in Django 2.1
Add testing of Python 3.7 support
Test using Django 2.1 final release.
Added djangorestframework-datatables to third-party packages
Change ISO 8601 date format to exclude year/month
Update all pypi.python.org URLs to pypi.org
Ensure that html forms (multipart form data) respect optional fields
Allow hashing of ErrorDetail.
Correct schema parsing for JSONField
Render descriptions (from help_text) using safe
Removed input value from deault_error_message
Added min_value/max_value support in DurationField
Fixed instance being overwritten in pk-only optimization try/except block
Fixed AttributeError from items filter when value is None
Fixed Javascript e.indexOf is not a function error
Fix schemas for extra actions
Improved get_error_detail to use error_dict/error_list
Imprvied URLs in Admin renderer
Add "Community" section to docs, minor cleanup
Moved guardian imports out of compat
Deprecate the DjangoObjectPermissionsFilter class, moved to the \ 
djangorestframework-guardian package.
Drop Django 1.10 support
Only catch TypeError/ValueError for object lookups
Handle models without .objects manager in ModelSerializer.
Improve ModelSerializer.create() error message.
Fix CSRF cookie check failure when using session auth with django 1.11.6+
Updated JWT docs.
Fix autoescape not getting passed to urlize_quoted_links filter