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

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


Branch: CURRENT, Version: 3.13.1, Package name: py39-djangorestframework-3.13.1, 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:

Filesize: 932.568 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-24 15:32:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: updated to 3.13.1

3.13.1

Revert schema naming changes with function based @api_view.

3.13.0

Django 4.0 compatability.
Add max_length and min_length options to ListSerializer.
Add get_request_serializer and get_response_serializer hooks to AutoSchema.
Fix OpenAPI representation of null-able read only fields.
Respect UNICODE_JSON setting in API schema outputs.
Fix for RemoteUserAuthentication.
Make Field constructors keyword-only.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-04-03 09:33:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: updated to 3.12.4

3.12.4

Revert use of deque instead of list for tracking throttling .history. (Due to \ 
incompatibility with DjangoRedis cache backend.

3.12.3

Properly handle ATOMIC_REQUESTS when multiple database configurations are used.
Bypass COUNT query when LimitOffsetPagination is configured but pagination \ 
params are not included on the request.
Respect allow_null=True on DecimalField.
Allow title cased "Yes"/"No" values with BooleanField.
Add PageNumberPagination.get_page_number() method for overriding behavior.
Fixed rendering of timedelta values in OpenAPI schemas, when present as default, \ 
min, or max fields.
Render JSONFields with indentation in browsable API forms.
Remove unnecessary database query in admin Token views.
Raise validation errors when bools are passed to PrimaryKeyRelatedField fields, \ 
instead of casting to ints.
Don't include model properties as automatically generated ordering fields with \ 
OrderingFilter.
Use deque instead of list for tracking throttling .history.
   2021-01-20 11:57:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.12.2

3.12.2
Fix issue if rest_framework.authtoken.models is imported, but \ 
rest_framework.authtoken is not in INSTALLED_APPS.
Ignore subclasses of BrowsableAPIRenderer in OpenAPI schema.
Narrower exception catching in serilizer fields, to ensure that any errors in \ 
broken get_queryset() methods are not masked.
   2020-10-02 21:27:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.12.1

3.12.1
Add TokenProxy migration.

3.12.0
Add --file option to generateschema command.
Support tags for OpenAPI schema generation. See the schema docs.
Support customising the operation ID for schema generation. See the schema docs.
Support OpenAPI components for schema generation. See the schema docs.
The following methods on AutoSchema become public API: get_path_parameters, \ 
get_pagination_parameters, get_filter_parameters, get_request_body, \ 
get_responses, get_serializer, get_paginator, map_serializer, map_field, \ 
map_choice_field, map_field_validators, allows_filters. See the schema docs
Add support for Django 3.1's database-agnositic JSONField.
SearchFilter now supports nested search on JSONField and HStoreField model fields.
SearchFilter now supports searching on annotate() fields.
The authtoken model no longer exposes the pk in the admin URL.
Add __repr__ for Request instances.
UTF-8 decoding with Latin-1 fallback for basic auth credentials.
CharField treats surrogate characters as a validation failure.
Don't include callables as default values in schemas.
Improve ListField schema output to include all available child information.
Allow default=False to be included for BooleanField schema outputs.
Include "type" information in ChoiceField schema outputs.
Include "type": "object" on schema objects.
Don't include component in schema output for DELETE requests.
Fix schema types for DecimalField.
Fix schema generation for ObtainAuthToken view.
Support passing context=... to view .get_serializer() methods.
Pass custom code to PermissionDenied if permission class has one set.
Include "example" in schema pagination output.
Default status code of 201 on schema output for POST requests.
Use camelCase for operation IDs in schema output.
Warn if duplicate operation IDs exist in schema output.
Improve handling of decimal type when mapping ChoiceField to a schema output.
Disable YAML aliases for OpenAPI schema outputs.
Fix action URL names for APIs included under a namespaced URL.
Update jQuery version from 3.4 to 3.5.
Fix UniqueTogether handling when serializer fields use source=....
HTTP HEAD requests now set self.action correctly on a ViewSet instance.
Return a valid OpenAPI schema for the case where no API schema paths exist.
Include tests in package distribution.
Allow type checkers to support annotations like ModelSerializer[Author].
Don't include invalid charset=None portion in the request Content-Type header \ 
when using APIClient.
Fix \Z/\z tokens in OpenAPI regexs.
Fix PrimaryKeyRelatedField and HyperlinkedRelatedField when source field is \ 
actually a property.
Token.generate_key is now a class method.
@action warns if method is wrapped in a decorator that does not preserve \ 
information using
   2020-08-20 13:37:06 by Joerg Sonnenberger | Files touched by this commit (2)
Log message:
Update django restframework to 3.11.1:

- Make get_extra_action less permissive