2
You shouldn’t need to pass in a user instance. It seems that discover_twilio_credentials
tries multiple ways to get Twilio creds. If you pass it a user, then it will try to find credentials specific to that user. If that fails, then it falls back to environment variables, so it should find the values from your activate.sh
script.
https://github.com/rdegges/django-twilio/blob/master/django_twilio/utils.py#L19-L31
Source:stackexchange.com