Skip to main content

Allows multiple apps to override the same management command in Django

Project description

© 2014 Thomas Khyn

MCMO stands for ‘Management Command Multiple Override’ Allows multiple apps to override the same management command in Django


  1. Install using your prefered method

  2. replace the line:

    from django.core import management


from django_mcmo import management

in your file

  1. You can now use applications that concurrently define overrides for django.core management commands. Both commands will be called.

Alternative usage

If your is automatically generated (e.g. if you are using buildout and djangorecipe), simply make sure that the statement:

import django_mcmo

is executed before calling

Importing the package patches the module, which functions are then multiple-override enabled.


The same-name overrides must derive from the same Command class, or at least from the same Command base class (AppCommand, LabelCommand or NoArgsCommand).

In practice, same-name command will only be met when two apps override a core django management command. They will therefore derive from the same Command class, and cause no issue (except if the same options are defined in the two commands).

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


History Node


History Node


This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_mcmo-1.0-py2.7.egg (6.7 kB) Copy SHA256 hash SHA256 Egg 2.7 Jul 20, 2014 (8.4 kB) Copy SHA256 hash SHA256 Source None Jul 20, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page