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

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

Branch: CURRENT, Version: 3.9.4, Package name: py37-djangorestframework-3.9.4, 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.

* 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
* 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:

Master sites:

SHA1: 65da4c451a675a8d42e11de0fd3009fbdc2a0657
RMD160: ed643e077e985d67812bcc978cfa65876aa6e7c9
Filesize: 761.041 KB

Version history: (Expand)

CVS history: (Expand)

   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

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

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

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

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

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 \ 
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
   2018-04-07 21:55:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: updated to 3.8.2

Version 3.8.2:
Fix read_only + default unique_together validation.
authtoken.views import coreapi from rest_framework.compat, not directly.
Docs: Add missing argument 'detail' to Route
   2018-04-05 10:14:18 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.8.1

Version 3.8.1:
Use old url_name behavior in route decorators
For list_route and detail_route maintain the old behavior of url_name,
basing it on the url_path instead of the function name.

Version 3.8:
Breaking Change: Alter read_only plus default behaviour.
Correct allow_null behaviour when required=False
Refactor dynamic route generation and improve viewset action introspectibility.
Fix formatting of the 3.7.4 release note
Docs: Update DRF Writable Nested Serializers references
Docs: Fixed typo in auth URLs example.
Improve composite field child errors
Disable HTML inputs for dict/list fields
Fix typo in HostNameVersioning doc
Use rsplit to get module and classname for imports
Formalize URLPatternsTestCase
Add exception translation test
Test staticfiles
Add drf-yasg to documentation and schema 3rd party packages
Remove unused compat._resolve_model()
Drop compat workaround for unsupported Python 3.2
Prefer iter(dict) over iter(dict.keys())
Pass python_requires argument to setuptools
Remove unused links from docs
Prefer https protocol for links in docs when available
Add HStoreField, postgres fields tests
Always fully qualify ValidationError in docs
Remove unreachable code from ManualSchema
Allowed customising API documentation code samples
Updated docs to use pip show
Load 'static' instead of 'staticfiles' in templates
Fixed a typo in fields docs
Refer to "NamespaceVersioning" instead of \ 
"NamespacedVersioning" in the documentation
ErrorDetail: add __eq__/__ne__ and __repr__
Replace background-attachment: fixed in docs
Make 404 & 403 responses consistent with exceptions.APIException output
Small fix to API documentation: schemas
Fix schema generation for PrimaryKeyRelatedField
Represent serializer DictField as an Object in schema
Added docs example reimplementing ObtainAuthToken
Add schema to the ObtainAuthToken view
Fix request formdata handling
Fix authtoken views imports
Update pytest, isort
Fixed active timezone handling for non ISO8601 datetimes.
Made TemplateHTMLRenderer render IntegerField inputs when value is 0.
Corrected endpoint in tutorial instructions
Add Django Rest Framework Role Filters to Third party packages
Use single copy of static assets. Update jQuery
Changes ternary conditionals to be PEP308 compliant
Added links to 'A Todo List API with React' and 'Blog API' tutorials
Fix comment typo in ModelSerializer
Add admin to installed apps to avoid test failures.
Fixed schema for UUIDField in SimpleMetadata.
Corrected docs on router include with namespaces.
Test using model objects for dotted source default
Allow traversing nullable related fields
Added: Tutorial: Django REST with React (Django 2.0)
Add LimitOffsetPagination.get_count to allow method override
Don't show hidden fields in metadata
Enable OrderingFilter to handle an empty tuple (or list) for the 'ordering' field.
Added generic 500 and 400 JSON error handlers.