diff options
author | adam <adam@pkgsrc.org> | 2018-10-23 07:57:05 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-10-23 07:57:05 +0000 |
commit | 98227d92b496d5ad33c22bf255053f00ad84c3cd (patch) | |
tree | aa5c890edf688a361e83e94500bd9ec8ac9d1b14 /www | |
parent | 97d1bc76695aa499b3892b9f9332dd821de0e618 (diff) | |
download | pkgsrc-98227d92b496d5ad33c22bf255053f00ad84c3cd.tar.gz |
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
Diffstat (limited to 'www')
-rw-r--r-- | www/py-djangorestframework/Makefile | 6 | ||||
-rw-r--r-- | www/py-djangorestframework/PLIST | 14 | ||||
-rw-r--r-- | www/py-djangorestframework/distinfo | 10 |
3 files changed, 18 insertions, 12 deletions
diff --git a/www/py-djangorestframework/Makefile b/www/py-djangorestframework/Makefile index c30867de864..c4d73b5944a 100644 --- a/www/py-djangorestframework/Makefile +++ b/www/py-djangorestframework/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2018/04/07 19:55:22 adam Exp $ +# $NetBSD: Makefile,v 1.22 2018/10/23 07:57:05 adam Exp $ -DISTNAME= djangorestframework-3.8.2 +DISTNAME= djangorestframework-3.9.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=d/djangorestframework/} @@ -10,7 +10,7 @@ HOMEPAGE= http://django-rest-framework.org/ COMMENT= Lightweight REST framework for Django LICENSE= modified-bsd -DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django +DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django USE_LANGUAGES= # none diff --git a/www/py-djangorestframework/PLIST b/www/py-djangorestframework/PLIST index b26d0884e7c..6fc6d36fd97 100644 --- a/www/py-djangorestframework/PLIST +++ b/www/py-djangorestframework/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2018/04/05 08:14:18 adam Exp $ +@comment $NetBSD: PLIST,v 1.11 2018/10/23 07:57:05 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -125,15 +125,21 @@ ${PYSITELIB}/rest_framework/locale/zh_CN/LC_MESSAGES/django.mo ${PYSITELIB}/rest_framework/locale/zh_Hans/LC_MESSAGES/django.mo ${PYSITELIB}/rest_framework/locale/zh_Hant/LC_MESSAGES/django.mo ${PYSITELIB}/rest_framework/locale/zh_TW/LC_MESSAGES/django.mo +${PYSITELIB}/rest_framework/management/__init__.py +${PYSITELIB}/rest_framework/management/__init__.pyc +${PYSITELIB}/rest_framework/management/__init__.pyo +${PYSITELIB}/rest_framework/management/commands/__init__.py +${PYSITELIB}/rest_framework/management/commands/__init__.pyc +${PYSITELIB}/rest_framework/management/commands/__init__.pyo +${PYSITELIB}/rest_framework/management/commands/generateschema.py +${PYSITELIB}/rest_framework/management/commands/generateschema.pyc +${PYSITELIB}/rest_framework/management/commands/generateschema.pyo ${PYSITELIB}/rest_framework/metadata.py ${PYSITELIB}/rest_framework/metadata.pyc ${PYSITELIB}/rest_framework/metadata.pyo ${PYSITELIB}/rest_framework/mixins.py ${PYSITELIB}/rest_framework/mixins.pyc ${PYSITELIB}/rest_framework/mixins.pyo -${PYSITELIB}/rest_framework/models.py -${PYSITELIB}/rest_framework/models.pyc -${PYSITELIB}/rest_framework/models.pyo ${PYSITELIB}/rest_framework/negotiation.py ${PYSITELIB}/rest_framework/negotiation.pyc ${PYSITELIB}/rest_framework/negotiation.pyo diff --git a/www/py-djangorestframework/distinfo b/www/py-djangorestframework/distinfo index 3268161d59e..95dd8f3df23 100644 --- a/www/py-djangorestframework/distinfo +++ b/www/py-djangorestframework/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2018/04/07 19:55:22 adam Exp $ +$NetBSD: distinfo,v 1.14 2018/10/23 07:57:05 adam Exp $ -SHA1 (djangorestframework-3.8.2.tar.gz) = a23c692e1f03d78999d004f1670d31fcee493073 -RMD160 (djangorestframework-3.8.2.tar.gz) = 3da5bb9f8272f7f084d9f97f2aec77ae84683d26 -SHA512 (djangorestframework-3.8.2.tar.gz) = ba537abf8b950f57a83b0cb07790a8d1567a4a1dc769c91f6b2411c9a5c559fa955124cf5fafe0bf425e5b675063483986ae95706c979c4c84a418ae562ff860 -Size (djangorestframework-3.8.2.tar.gz) = 795446 bytes +SHA1 (djangorestframework-3.9.0.tar.gz) = 10fd6b732aae7eae2bea23ca2acde6de011198dc +RMD160 (djangorestframework-3.9.0.tar.gz) = 573dd0adf0ed212652426d4918b459c8f6bfb6d3 +SHA512 (djangorestframework-3.9.0.tar.gz) = 51b0281b401260c46608c72f53e925f5884b3c811d134d0de388d0c66eb22edeb1d06b61aae19401840790e8cd70ea711d99a858db9e0e0a5f98d681e68497ed +Size (djangorestframework-3.9.0.tar.gz) = 802477 bytes |