Skip to content

Commit

Permalink
Merge pull request #171 from rdegges/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jheld committed Feb 13, 2020
2 parents 6570605 + bf5281f commit bb2eb2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/source/rest.rst
Expand Up @@ -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.stream():
print(number.friendly_name)

While this is really convenient, it breaks the `Don't Repeat Yourself
Expand All @@ -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.stream():
print(number.friendly_name)

See how you didn't have to worry about credentials or anything? Niiiiice.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -27,7 +27,7 @@
elif sys.version_info[1] == 6:
# py3.6 can run 1.11 < 3.1 (likely will be <4.0)
django_python_version_install = 'Django>=1.11,<3.1',
INSTALL_PYTHON_REQUIRES.append(django_python_version_install)
INSTALL_PYTHON_REQUIRES.append(django_python_version_install)
elif sys.version_info[1] == 7:
# py3.7 is 1.11.17 < 3.1 (likely will be <4.0)
django_python_version_install = 'Django>=1.11.17,<3.1'
Expand All @@ -41,7 +41,7 @@

# Basic package information:
name='django-twilio',
version='0.12.1',
version='0.12.1.post0',
packages=find_packages(),

# Packaging options:
Expand Down

0 comments on commit bb2eb2a

Please sign in to comment.