Re: Declare REST clients in django project

2016-02-18 Thread James Schneider
On Wed, Feb 17, 2016 at 12:28 PM, Горобец Дмитрий wrote: > Hello! > > How do you declare different REST clients in settings of django project? > > Is it a right way to declare clients directly in settings.py? > MAILCHIMP_CLIENT = mailchimp.Mailchimp(MAILCHIMP_API_KEY) > TWILIO_CLIENT = TwilioRest

Declare REST clients in django project

2016-02-17 Thread Горобец Дмитрий
Hello! How do you declare different REST clients in settings of django project? Is it a right way to declare clients directly in settings.py? MAILCHIMP_CLIENT = mailchimp.Mailchimp(MAILCHIMP_API_KEY) TWILIO_CLIENT = TwilioRestClient(TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN) -- You received this m