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

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

Branch: CURRENT, Version: 3.9.0, Package name: py27-djangorestframework-3.9.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.

* 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/python27]

Required to build:

Master sites:

SHA1: 10fd6b732aae7eae2bea23ca2acde6de011198dc
RMD160: 573dd0adf0ed212652426d4918b459c8f6bfb6d3
Filesize: 783.669 KB

Version history: (Expand)

CVS history: (Expand)

   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.
   2017-12-21 14:42:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.7.7

Fix typo to include *.mo locale files to packaging.

Add missing *.ico icon files to packaging.

Add missing *.woff2 font files to packaging.
Add missing *.mo locale files to packaging.
   2017-12-21 08:33:44 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.7.4

Schema: Extract method for manual_fields processing
Allows for easier customisation of manual_fields processing, for example to \ 
provide per-method manual fields. AutoSchema adds get_manual_fields, as the \ 
intended override point, and a utility method update_fields, to handle by-name \ 
field replacement from a list, which, in general, you are not expected to \ 
   2017-11-08 13:29:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: updated to 3.7.3

Version 3.7.3:
Fix AppRegistryNotReady error importing contrib.auth views

Version 3.7.2:
Fixed Django 2.1 compatibility due to removal of \ 
django.contrib.auth.login()/logout() views.
Add missing import for TextLexer.
Adding examples and documentation for caching
Include date and date-time format for schema generation
Use triple backticks for markdown code blocks
Interactive docs - make bottom sidebar items sticky
Clarify pagination system check
Stop JSONBoundField mangling invalid JSON
Have JSONField render as textarea in Browsable API
Schema: Exclude OPTIONS/HEAD for ViewSet actions
Fix ordering for dotted sources
Fix: Fields with allow_null=True should imply a default serialization value
Ensure Location header is strictly a 'str', not subclass.
Add import to example in api-guide/parsers
Catch OverflowError for "out of range" datetimes
Add djangorestframework-rapidjson to third party packages
Increase test coverage for drf_create_token command
Add trove classifier for Python 3.6 support.
Add pip cache support to the Travis CI configuration
Rename [wheel] section to [bdist_wheel] as the former is legacy
Fix invalid escape sequence deprecation warnings
Add interactive docs error template
Add rounding parameter to DecimalField
Fix all BytesWarning caught during tests
Use dict and set literals instead of calls to dict() and set()
Change ImageField validation pattern, use validators from DjangoImageField
Fix processing unicode symbols in query_string by Python 2
   2017-10-17 08:30:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangorestframework: update to 3.7.1

Version 3.7.1
Fix Interactive documentation always uses false for boolean fields in requests
Improve compatibility with Django 2.0 alpha.
Improved handling of schema naming collisions
Added additional docs and tests around providing a default value for dotted \ 
source fields
   2017-10-08 11:43:29 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-djangorestframework: update to 3.7.0

Django REST framework 3.7
The 3.7 release focuses on improvements to schema generation and the interactive \ 
API documentation.