Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Persistable oauth2 Mailchimp backend for Django.

Project Description

[![PyPI Version](](
[![PyPI Python](](
[![PyPI Status](](
[![PyPI License](](

# Django Plantains

Django plantains creates the ability to persist the association of a MailChimp account to an AuthUser account in Django. Leveraging the Django framework this can facitate authentication and persisted storage of Oauth metadata for later retrieval and usage.

# Requirements
Django plantains was built and tested for:
* Django: 1.8
* Python: 2.7

# Installation
Use pip to install into a virtualenv:
pip install django-plantains

In `settings` configuration file add the following:

Include the application URLconf in your project
url(r'^plantains/', include('plantains.urls')),

Using a MailChimp registered app, set your client_id and client_secret in your `settings` configuration as well:
MAILCHIMP_CLIENT_SECRET = 'a1b2c3d4e5f6789'

# Optional parameters
# Defaults

# These are in case MailChimp decides
# to change it's endpoints

Use the authentication url to begin the Oauth process in your Django templates.
<a href="{% url 'mailchimp_auth' %}">Feelin Chimpy</a>

Once the authentication is complete you can find your access_token in the `mailchimp_user` table.

## How to Contribute
Django-plantains is willing and open to accept all contributions. Take a fork and make a pull-request. If you feel like becoming an active maintainer, please get in touch in becoming a project contributor.

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(4.4 kB) Copy SHA256 Hash SHA256
Source Apr 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting