Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An OAuth2 library for authenticating a user through MailChimp
tree: 7bfcaf6622

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
mailchimp_demo
.gitignore
readme.md
requirements.txt

readme.md

To test out MailChimp's OAuth2 authentication with Django, just clone this project and replace a few variable and you're on your way.

  1. Install the requirements by running pip install -r requirements.txt. You are using a virtualenv, right?

  2. In settings.py, edit the following variables to be custom to your app.

    MAILCHIMP_CLIENT_ID MAILCHIMP_CLIENT_SECRET

  3. On MailChimp.com, in your app settings, make sure you have http://127.0.0.1 as your redirect_uri setting.

  4. Set up the DB. Just run python manage.py syncdb from the mailchimp_demo directory. You don't need to create any superusers.

  5. Start the server with python manage.py runserver and load http://127.0.0.1:8000/ in your browser of choice.

That's all!

Something went wrong with that request. Please try again.