pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-djangorestframework py-djangorestframework: upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/017a9b151cae
branches:  trunk
changeset: 314241:017a9b151cae
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 23 07:57:05 2018 +0000

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

 www/py-djangorestframework/Makefile |   6 +++---
 www/py-djangorestframework/PLIST    |  14 ++++++++++----
 www/py-djangorestframework/distinfo |  10 +++++-----
 3 files changed, 18 insertions(+), 12 deletions(-)

diffs (70 lines):

diff -r 38584fff0315 -r 017a9b151cae www/py-djangorestframework/Makefile
--- a/www/py-djangorestframework/Makefile       Tue Oct 23 07:46:54 2018 +0000
+++ b/www/py-djangorestframework/Makefile       Tue Oct 23 07:57:05 2018 +0000
@@ -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 @@
 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 -r 38584fff0315 -r 017a9b151cae www/py-djangorestframework/PLIST
--- a/www/py-djangorestframework/PLIST  Tue Oct 23 07:46:54 2018 +0000
+++ b/www/py-djangorestframework/PLIST  Tue Oct 23 07:57:05 2018 +0000
@@ -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_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 -r 38584fff0315 -r 017a9b151cae www/py-djangorestframework/distinfo
--- a/www/py-djangorestframework/distinfo       Tue Oct 23 07:46:54 2018 +0000
+++ b/www/py-djangorestframework/distinfo       Tue Oct 23 07:57:05 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index