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/ff5ece2805d6
branches: trunk
changeset: 378299:ff5ece2805d6
user: adam <adam%pkgsrc.org@localhost>
date: Thu Apr 05 08:14:18 2018 +0000
description:
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.
diffstat:
www/py-djangorestframework/Makefile | 4 ++--
www/py-djangorestframework/PLIST | 30 ++++++++++++++----------------
www/py-djangorestframework/distinfo | 10 +++++-----
3 files changed, 21 insertions(+), 23 deletions(-)
diffs (120 lines):
diff -r 46a3f2a49468 -r ff5ece2805d6 www/py-djangorestframework/Makefile
--- a/www/py-djangorestframework/Makefile Thu Apr 05 07:15:23 2018 +0000
+++ b/www/py-djangorestframework/Makefile Thu Apr 05 08:14:18 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2017/12/21 13:42:43 adam Exp $
+# $NetBSD: Makefile,v 1.20 2018/04/05 08:14:18 adam Exp $
-DISTNAME= djangorestframework-3.7.7
+DISTNAME= djangorestframework-3.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/djangorestframework/}
diff -r 46a3f2a49468 -r ff5ece2805d6 www/py-djangorestframework/PLIST
--- a/www/py-djangorestframework/PLIST Thu Apr 05 07:15:23 2018 +0000
+++ b/www/py-djangorestframework/PLIST Thu Apr 05 08:14:18 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2017/12/21 13:42:43 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2018/04/05 08:14:18 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -185,32 +185,24 @@
${PYSITELIB}/rest_framework/settings.py
${PYSITELIB}/rest_framework/settings.pyc
${PYSITELIB}/rest_framework/settings.pyo
+${PYSITELIB}/rest_framework/static/rest_framework/css/bootstrap-theme.min.css
${PYSITELIB}/rest_framework/static/rest_framework/css/bootstrap-tweaks.css
${PYSITELIB}/rest_framework/static/rest_framework/css/bootstrap.min.css
${PYSITELIB}/rest_framework/static/rest_framework/css/default.css
+${PYSITELIB}/rest_framework/static/rest_framework/css/font-awesome-4.0.3.css
${PYSITELIB}/rest_framework/static/rest_framework/css/prettify.css
${PYSITELIB}/rest_framework/static/rest_framework/docs/css/base.css
-${PYSITELIB}/rest_framework/static/rest_framework/docs/css/bootstrap-theme.min.css
-${PYSITELIB}/rest_framework/static/rest_framework/docs/css/bootstrap.min.css
-${PYSITELIB}/rest_framework/static/rest_framework/docs/css/font-awesome-4.0.3.css
${PYSITELIB}/rest_framework/static/rest_framework/docs/css/highlight.css
${PYSITELIB}/rest_framework/static/rest_framework/docs/css/jquery.json-view.min.css
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/fontawesome-webfont.eot
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/fontawesome-webfont.svg
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/fontawesome-webfont.ttf
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/fontawesome-webfont.woff
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/glyphicons-halflings-regular.eot
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/glyphicons-halflings-regular.svg
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/glyphicons-halflings-regular.ttf
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/glyphicons-halflings-regular.woff
-${PYSITELIB}/rest_framework/static/rest_framework/docs/fonts/glyphicons-halflings-regular.woff2
${PYSITELIB}/rest_framework/static/rest_framework/docs/img/favicon.ico
${PYSITELIB}/rest_framework/static/rest_framework/docs/img/grid.png
${PYSITELIB}/rest_framework/static/rest_framework/docs/js/api.js
-${PYSITELIB}/rest_framework/static/rest_framework/docs/js/bootstrap.min.js
${PYSITELIB}/rest_framework/static/rest_framework/docs/js/highlight.pack.js
-${PYSITELIB}/rest_framework/static/rest_framework/docs/js/jquery-1.10.2.min.js
${PYSITELIB}/rest_framework/static/rest_framework/docs/js/jquery.json-view.min.js
+${PYSITELIB}/rest_framework/static/rest_framework/fonts/fontawesome-webfont.eot
+${PYSITELIB}/rest_framework/static/rest_framework/fonts/fontawesome-webfont.svg
+${PYSITELIB}/rest_framework/static/rest_framework/fonts/fontawesome-webfont.ttf
+${PYSITELIB}/rest_framework/static/rest_framework/fonts/fontawesome-webfont.woff
${PYSITELIB}/rest_framework/static/rest_framework/fonts/glyphicons-halflings-regular.eot
${PYSITELIB}/rest_framework/static/rest_framework/fonts/glyphicons-halflings-regular.svg
${PYSITELIB}/rest_framework/static/rest_framework/fonts/glyphicons-halflings-regular.ttf
@@ -224,7 +216,7 @@
${PYSITELIB}/rest_framework/static/rest_framework/js/coreapi-0.1.1.js
${PYSITELIB}/rest_framework/static/rest_framework/js/csrf.js
${PYSITELIB}/rest_framework/static/rest_framework/js/default.js
-${PYSITELIB}/rest_framework/static/rest_framework/js/jquery-1.12.4.min.js
+${PYSITELIB}/rest_framework/static/rest_framework/js/jquery-3.3.1.min.js
${PYSITELIB}/rest_framework/static/rest_framework/js/prettify-min.js
${PYSITELIB}/rest_framework/status.py
${PYSITELIB}/rest_framework/status.pyc
@@ -257,9 +249,11 @@
${PYSITELIB}/rest_framework/templates/rest_framework/filters/search.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/checkbox.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/checkbox_multiple.html
+${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/dict_field.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/fieldset.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/form.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/input.html
+${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/list_field.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/list_fieldset.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/radio.html
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/select.html
@@ -267,9 +261,11 @@
${PYSITELIB}/rest_framework/templates/rest_framework/horizontal/textarea.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/checkbox.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/checkbox_multiple.html
+${PYSITELIB}/rest_framework/templates/rest_framework/inline/dict_field.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/fieldset.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/form.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/input.html
+${PYSITELIB}/rest_framework/templates/rest_framework/inline/list_field.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/list_fieldset.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/radio.html
${PYSITELIB}/rest_framework/templates/rest_framework/inline/select.html
@@ -283,9 +279,11 @@
${PYSITELIB}/rest_framework/templates/rest_framework/schema.js
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/checkbox.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/checkbox_multiple.html
+${PYSITELIB}/rest_framework/templates/rest_framework/vertical/dict_field.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/fieldset.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/form.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/input.html
+${PYSITELIB}/rest_framework/templates/rest_framework/vertical/list_field.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/list_fieldset.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/radio.html
${PYSITELIB}/rest_framework/templates/rest_framework/vertical/select.html
diff -r 46a3f2a49468 -r ff5ece2805d6 www/py-djangorestframework/distinfo
--- a/www/py-djangorestframework/distinfo Thu Apr 05 07:15:23 2018 +0000
+++ b/www/py-djangorestframework/distinfo Thu Apr 05 08:14:18 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2017/12/21 13:42:43 adam Exp $
+$NetBSD: distinfo,v 1.12 2018/04/05 08:14:18 adam Exp $
-SHA1 (djangorestframework-3.7.7.tar.gz) = a3672a2d1294f3bc53220dff9f59517048078d3e
-RMD160 (djangorestframework-3.7.7.tar.gz) = 2f22197aa9f7c1987c9aa1ef6024c18de2829428
-SHA512 (djangorestframework-3.7.7.tar.gz) = d741e1d584ebae5141b57efa079ce231d470fe765c2c9586f769cb77c36a4f0c625a650b1056d5116a182e55268dd4d6b1dea589e269ebef433bd2a969ee93c0
-Size (djangorestframework-3.7.7.tar.gz) = 974316 bytes
+SHA1 (djangorestframework-3.8.1.tar.gz) = bbf4601de0cf45dd6bf1c28f0897409fb6f65fa1
+RMD160 (djangorestframework-3.8.1.tar.gz) = 38afc4d30848b154a93a083ccb657fe3f58169ce
+SHA512 (djangorestframework-3.8.1.tar.gz) = 69689f9c04f1a524c5726f9b32f2bf11f5500fa996c2c65dae32e16edd5ce1ed4a7cbdb4e1b4a488b9f76a6855c9c401bc0b04d115aec961a80d4cccb59a057d
+Size (djangorestframework-3.8.1.tar.gz) = 795363 bytes
Home |
Main Index |
Thread Index |
Old Index