robinhood / deux

Multifactor Authentication for Django Rest Framework
Other
155 stars 56 forks source link

Updating import paths for twilio package >6.x #29

Open danny-b-livesmart opened 4 years ago

danny-b-livesmart commented 4 years ago

Twilio package >6.x has changed the locations for TwilioRestClient & TwilioRestException.

This pull request wraps the new import paths in a "try", which falls back to the old import paths if a Twilio package under version 6 is installed.