From f2af73b0424a5dd13b13b9747c8c053f909dedd6 Mon Sep 17 00:00:00 2001 From: Jason Held Date: Sat, 11 Jan 2020 16:56:40 -0500 Subject: [PATCH 1/4] 0.12.0rc1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c59b750..049f126 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ # Basic package information: name='django-twilio', - version='0.11.0', + version='0.12.0rc1', packages=find_packages(), # Packaging options: From c57da2c146d9ddf868b95d6e44efb0c02805d36c Mon Sep 17 00:00:00 2001 From: Jason Held Date: Tue, 11 Feb 2020 19:29:19 -0500 Subject: [PATCH 2/4] incoming_phone_numbers doc usage for provisioned numbers (#167) --- docs/source/rest.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/rest.rst b/docs/source/rest.rst index 223cc98..ef9f529 100644 --- a/docs/source/rest.rst +++ b/docs/source/rest.rst @@ -34,7 +34,7 @@ provisioned to your Twilio account by running the following code:: AUTH_TOKEN = 'xxx' client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN) - for number in client.phone_numbers.iter(): + for number in client.incoming_phone_numbers.iter(): print(number.friendly_name) While this is really convenient, it breaks the `Don't Repeat Yourself @@ -61,7 +61,7 @@ following code:: from django_twilio.client import twilio_client - for number in twilio_client.phone_numbers.iter(): + for number in twilio_client.incoming_phone_numbers.iter(): print(number.friendly_name) See how you didn't have to worry about credentials or anything? Niiiiice. From f6963c83550e7adc4506ca015322479b7320b92d Mon Sep 17 00:00:00 2001 From: Jason Held Date: Thu, 13 Feb 2020 14:46:52 -0500 Subject: [PATCH 3/4] incoming_phone_numbers doc usage uses stream not iter. (#170) --- docs/source/rest.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/rest.rst b/docs/source/rest.rst index ef9f529..6affaa4 100644 --- a/docs/source/rest.rst +++ b/docs/source/rest.rst @@ -34,7 +34,7 @@ provisioned to your Twilio account by running the following code:: AUTH_TOKEN = 'xxx' client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN) - for number in client.incoming_phone_numbers.iter(): + for number in client.incoming_phone_numbers.stream(): print(number.friendly_name) While this is really convenient, it breaks the `Don't Repeat Yourself @@ -61,7 +61,7 @@ following code:: from django_twilio.client import twilio_client - for number in twilio_client.incoming_phone_numbers.iter(): + for number in twilio_client.incoming_phone_numbers.stream(): print(number.friendly_name) See how you didn't have to worry about credentials or anything? Niiiiice. From bf5281fba49272af7f13d399d9479f48458ce9ad Mon Sep 17 00:00:00 2001 From: Jason Held Date: Thu, 13 Feb 2020 14:49:23 -0500 Subject: [PATCH 4/4] 0.12.1.post0 doc fix --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2026aa6..fb12b4c 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ # Basic package information: name='django-twilio', - version='0.12.1', + version='0.12.1.post0', packages=find_packages(), # Packaging options: