akshaybabloo / gollahalli-cms

Files for gollahalli.com web site
https://www.gollahalli.com
MIT License
0 stars 0 forks source link

Update django-phonenumber-field to 2.3.1 #160

Closed pyup-bot closed 5 years ago

pyup-bot commented 5 years ago

This PR updates django-phonenumber-field from 2.2.0 to 2.3.1.

Changelog ### 2.3.1 ``` ------------------ * Fixed a regression to re-allow the model field to override the default form field. ``` ### 2.3.0 ``` ------------------ * Added the ``region`` keyword argument to ``PhoneNumberField``. * Fix representation of invalid phone numbers in the database, previously stored as ``+NoneNone``. Now, invalid phone numbers are represented as: 1. the field's `default`_ when it is specified, or 2. empty ``str`` if the field is `blank`_ and not `null`_, or 3. null. Existing database records can be upgraded with a `data migration`_. * Added support for Django 2.2. * Tests are now included in the sdist package. * ``modelfields.PhoneNumberField`` now inherits from ``models.CharField`` instead of ``models.Field``. .. _default: https://docs.djangoproject.com/en/dev/ref/models/fields/django.db.models.Field.default .. _blank: https://docs.djangoproject.com/en/dev/ref/models/fields/django.db.models.Field.blank .. _null: https://docs.djangoproject.com/en/dev/ref/models/fields/django.db.models.Field.null .. _data migration: https://docs.djangoproject.com/en/dev/topics/migrations/data-migrations ```
Links - PyPI: https://pypi.org/project/django-phonenumber-field - Changelog: https://pyup.io/changelogs/django-phonenumber-field/ - Repo: https://github.com/stefanfoulis/django-phonenumber-field