Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Twitter plugin to work with Django CMS, designed to work with latest API of twitter.
branch: master



Twitter recently dropped support for v1.0 of its REST API. Since this was used in DjangoCMS, all of the installations which used this plugin broke. Hence, this is an attempt to create a similar plugin using widgets.


  • In order to install this plugin, fire up your virtualenv:

        pip install cmsplugin-twitter
  • And add the this line in INSTALLED_APPS in your




considering you have similar to this:

import os
import imp
import socket
import subprocess

WEBAPP_ROOT = os.path.dirname(os.path.realpath(__file__))

def get_environment_file_path(env):
    return os.path.join(WEBAPP_ROOT, 'config', '' % env)

config = imp.load_source('base_settings', get_environment_file_path('base'))
from base_settings import *

if 'APP_ENV' in os.environ:
    ENV = os.environ['APP_ENV']
    ENV = 'local'

    config = imp.load_source('env_settings', get_environment_file_path(ENV))
    from env_settings import *
except IOError:
    exit("No configuration file found for env '%s'" % ENV)
  • After saving them , run:

        python syncdb
        python migrate

How to Use:

  • Login to your twitter account and go to this url:

  • Create a new widgets and then copy the twitter handle and widget_id from the generated script.

  • Enter those two fields in the plugin form and other fields and you are good to go.

Plugin in Action

This is the plugin working on a Django-CMS site:

Twitter Plugin


Bitdeli Badge

Something went wrong with that request. Please try again.