Mezzanine 3.1.10 backport with modeltranslation support

License: BSD-2-Clause

Language: Python

Created by Stephen McDonald


Mezzanine is a powerful, consistent, and flexible content management platform. Built using the Django framework, Mezzanine provides a simple yet highly extensible architecture that encourages diving in and hacking on the code. Mezzanine is BSD licensed and supported by a diverse and active community.

In some ways, Mezzanine resembles tools such as Wordpress that provide an intuitive interface for managing pages, blog posts, form data, store products, and other types of content. But Mezzanine is also different. Unlike many other platforms that make extensive use of modules or reusable applications, Mezzanine provides most of its functionality by default. This approach yields a more integrated and efficient platform.

Visit the Mezzanine project page to see some of the great sites people have built using Mezzanine.


In addition to the usual features provided by Django such as MVC architecture, ORM, templating, caching and an automatic admin interface, Mezzanine provides the following:

The Mezzanine admin dashboard:


Mezzanine makes use of as few libraries as possible (apart from a standard Django environment), with the following dependencies:

Users on Debian or Ubuntu will require some system packages to support the imaging library:

$ apt-get install libjpeg8 libjpeg8-dev
$ apt-get build-dep python-imaging

OSX users can do the same via Homebrew:

$ brew install libjpeg


A handful of attractive Free Themes are available thanks to @abhinavsohani, while there is also a marketplace for buying and selling Premium Themes thanks to @joshcartme.

Browser Support

Mezzanine's admin interface works with all modern browsers. Internet Explorer 7 and earlier are generally unsupported.


The easiest method is to install directly from pypi using pip by running the command below, which will also install the required dependencies mentioned above:

$ pip install mezzanine

If you prefer, you can download Mezzanine and install it directly from source:

$ python install

Once installed, the command mezzanine-project can be used to create a new Mezzanine project in similar fashion to

$ mezzanine-project project_name
$ cd project_name
$ python createdb --noinput
$ python runserver


The createdb command is a shortcut for using Django's syncdb command and setting the initial migration state for South. You can alternatively use syncdb and migrate if preferred. South is automatically added to INSTALLED_APPS if the USE_SOUTH setting is set to True.

createdb will also install some demo content, such as a contact form and image gallery. If you'd like to omit this step, use the --nodata option with createdb.

You should then be able to browse to and log in using the default account (username: admin, password: default). If you'd like to specify a different username and password during set up, simply exclude the --noinput option included above when running createdb.

For information on how to add Mezzanine to an existing Django project, see the FAQ section of the documentation.


Mezzanine is an open source project managed using both the Git and Mercurial version control systems. These repositories are hosted on both GitHub and Bitbucket respectively, so contributing is as easy as forking the project on either of these sites and committing back your enhancements.

Please note the following guidelines for contributing:

  • Contributed code must be written in the existing style. For Python (and to a decent extent, JavaScript as well), this is as simple as following the Django coding style and (most importantly) PEP 8. Front-end CSS should adhere to the Bootstrap CSS guidelines.
  • Contributions must be available on a separately named branch based on the latest version of the main branch.
  • Run the tests before committing your changes. If your changes cause the tests to break, they won't be accepted.
  • If you are adding new functionality, you must include basic tests and documentation.

Here's a quick start to hacking on Mezzanine after forking it on GitHub, by using the internal "project_template" as your current project:

$ git clone
$ cd mezzanine
$ git checkout -b your-new-branch-name
$ cp mezzanine/project_template/{.template,}
$ python develop
$ python mezzanine/project_template/ createdb --noinput
$ python mezzanine/project_template/ runserver

"hack hack hack"

$ python test
$ git commit -am "A message describing what you changed."
$ git push origin your-new-branch-name

Language Translations

Mezzanine makes full use of translation strings, which allow Mezzanine to be translated into multiple languages using Django's internationalization methodology. Translations are managed on the Transiflex website but can also be submitted via GitHub or Bitbucket. Consult the documentation for Django's internationalization methodology for more information on creating translations and using them.

Third-party Modules

The following modules have been developed outside of Mezzanine. If you have developed a module to integrate with Mezzanine and would like to list it here, send an email to the mezzanine-users mailing list. You can also add modules to the Mezzanine Grid on


If you would like to make a donation to continue development of Mezzanine, you can do so via the Mezzanine Project website.


To report a security issue, please send an email privately to This gives us a chance to fix the issue and create an official release prior to the issue being made public.

For all other Mezzanine support, the primary channel is the mezzanine-users mailing list. Questions, comments, and all related discussions take place here amongst knowledgeable members of the community.

If you're certain you've come across a bug, then please use the GitHub issue tracker. It's crucial that enough information is provided to reproduce the bug. This includes things such as the Python stack trace generated by error pages, as well as other aspects of the development environment used, such as operating system, database, Python version, etc. If you're not sure you've found a reproducable bug, then please try the mailing list first.

Finally, feel free to drop by the #mezzanine IRC channel on Freenode, for a chat!

Communications in all Mezzanine spaces are expected to conform to the Django Code of Conduct.

Sites Using Mezzanine


Project Statistics

Sourcerank 4
Repository Size 41.7 MB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 11
Contributors 184
Tags 0
Last updated
Last pushed

Top Contributors See all

Stephen McDonald Ed Rivas Check your git settings! Alex Hill Sebastián Magrí Ken Bolton Dmitry Falk Ed Schofield ajfisher Josh Cartmell David Novakovic jcartmell Ahmad Khayyat Sebastian Clemens Renyi Khor Gavin Wahl Wojtek Ruszczewski Ulrich Wagner Tom von Schwerdtner Alvin Mites

Something wrong with this page? Make a suggestion

Last synced: 2016-05-28 05:21:35 UTC

Login to resync this repository