Version 4.6
Add a CountryFieldMixin Django Rest Framework serializer mixin that automatically picks the right field type for a CountryField (both single and multi-choice). Validation for Django Rest Framework field (thanks Simon Meers). Allow case-insensitive .by_name() matching (thanks again, Simon). Ensure a multiple-choice CountryField.max_length is enough to hold all countries. Fix inefficient pickling of countries (thanks Craig de Stigter for the report and tests). Stop adding a blank choice when dealing with a multi-choice CountryField. Tests now cover multiple Django Rest Framework versions (back to 3.3). Version 4.6.1 Fix invalid reStructuredText in CHANGES.
This commit is contained in:
parent
cdb7844552
commit
e905c8f211
3 changed files with 13 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.1 2017/06/12 06:48:20 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2017/06/16 07:17:58 adam Exp $
|
||||
|
||||
DISTNAME= django-countries-4.5
|
||||
DISTNAME= django-countries-4.6.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-countries/}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2017/06/12 06:48:20 adam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.2 2017/06/16 07:17:58 adam Exp $
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
|
@ -51,6 +51,8 @@ ${PYSITELIB}/django_countries/locale/fr/LC_MESSAGES/django.mo
|
|||
${PYSITELIB}/django_countries/locale/fr/LC_MESSAGES/django.po
|
||||
${PYSITELIB}/django_countries/locale/hr/LC_MESSAGES/django.mo
|
||||
${PYSITELIB}/django_countries/locale/hr/LC_MESSAGES/django.po
|
||||
${PYSITELIB}/django_countries/locale/hu/LC_MESSAGES/django.mo
|
||||
${PYSITELIB}/django_countries/locale/hu/LC_MESSAGES/django.po
|
||||
${PYSITELIB}/django_countries/locale/it/LC_MESSAGES/django.mo
|
||||
${PYSITELIB}/django_countries/locale/it/LC_MESSAGES/django.po
|
||||
${PYSITELIB}/django_countries/locale/ja/LC_MESSAGES/django.mo
|
||||
|
@ -92,6 +94,9 @@ ${PYSITELIB}/django_countries/models.pyo
|
|||
${PYSITELIB}/django_countries/serializer_fields.py
|
||||
${PYSITELIB}/django_countries/serializer_fields.pyc
|
||||
${PYSITELIB}/django_countries/serializer_fields.pyo
|
||||
${PYSITELIB}/django_countries/serializers.py
|
||||
${PYSITELIB}/django_countries/serializers.pyc
|
||||
${PYSITELIB}/django_countries/serializers.pyo
|
||||
${PYSITELIB}/django_countries/static/flags/__.gif
|
||||
${PYSITELIB}/django_countries/static/flags/ad.gif
|
||||
${PYSITELIB}/django_countries/static/flags/ae.gif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2017/06/12 06:48:20 adam Exp $
|
||||
$NetBSD: distinfo,v 1.2 2017/06/16 07:17:58 adam Exp $
|
||||
|
||||
SHA1 (django-countries-4.5.tar.gz) = 853051cf5b44c1d0df88f9e3ec3a5209e30bd82c
|
||||
RMD160 (django-countries-4.5.tar.gz) = 48cfec083406c99919f541843df6fc77633480b8
|
||||
SHA512 (django-countries-4.5.tar.gz) = 48c8f151073f41b4a4302829073709f520fccf7eb94802a7e6c6b49000bcc9cd8362ea956f30b63322963199d9d19b4c49d49abdeb4106878ee21023f862d461
|
||||
Size (django-countries-4.5.tar.gz) = 413597 bytes
|
||||
SHA1 (django-countries-4.6.1.tar.gz) = c2f027e268aa87c084ed189c787965c1cc752f62
|
||||
RMD160 (django-countries-4.6.1.tar.gz) = 802d79ab79a729150f0f6b2f9c4aa76419d21a8d
|
||||
SHA512 (django-countries-4.6.1.tar.gz) = dd0896e67190d362e9682dd52f2744d348162963768b3c25c8d87581a94467e300561bcc7f410d4b237413914fa17be263386f9fb2ea0af1b998ba2784ea3072
|
||||
Size (django-countries-4.6.1.tar.gz) = 424039 bytes
|
||||
|
|
Loading…
Reference in a new issue