Enable ChimpyException in django

74 views
Skip to first unread message

vicky

unread,
Dec 18, 2009, 12:38:15 AM12/18/09
to MailChimp API Discuss
Hi,

I have implemented mailchimp on my website (python with django
framework) with apis and api wrappers provided by mailchimp.

In this wrapper class it is written
class ChimpyException(Exception):
pass

and i think this means every error is passed whitout display. I want
to show exception error if any error happens to user.

for example:
During sending test email using CampaignSendTest() function sometime i
got error
<h1>ChimpyException at /admin/editorial/newsletter/send/
</h1>
<h2>Too many tests sent in a 24 hour period for your
account</h2>
(i am able to see this error in Firefox firebug tool.)

Please tell me how to enable "ChimpyException"

Also can anyone tell the limit of email send from test email function
CampaignSendTest()

Please help .............

jesse

unread,
Dec 18, 2009, 12:31:32 PM12/18/09
to MailChimp API Discuss
It sounds like you need to learn about using Exceptions in Python.
Here's a link from a quick google search:
http://docs.python.org/tutorial/errors.html


jesse

Reply all
Reply to author
Forward
0 new messages