Skip to main content

Django app to moderate model objects

Project description


Moderation seems to be some job each one want to do in their own way. Django-monitor is a django-app to moderate model objects. It was started as a clone of django-gatekeeper project but to meet certain business requirements. Read about those requirements it meet in the Features section.

Here, the moderation process is well integrated with django-admin. That is, all moderation actvities are performed from within the changelist page itself.

The detailed documentation for latest revision is available at:


  • Python >= 2.4
  • Django >= 1.1


  1. Directly from the python package index

    1. Using pip:

      $ pip install django_monitor
    2. Using easy_install:

      $ easy_install django_monitor
  2. OR Directly from the mercurial repo

    1. Clone the repo (if you have hg installed):

      $ hg clone
  3. OR Download & install from available archives:

  4. Then add ‘django_monitor’ to your project’s settings.INSTALLED_APPS.


Model-specific permission

Each moderated model will have an associated moderate permission. To approve or challenge any object created for a particular model, users need to have the corresponding permission.


Any object created by a user with add permission will have an In Pending status. If the user has got moderate permission also, the object created will automatically get approved (status becomes Approved).

Moderation from within admin changelist

The changelist of a moderated model displays the current moderation status of all objects. Also, you can filter the objects by their moderation status. Three actions are available for moderation. To moderate, user just need to select the objects, choose appropriate action and press Go.

Data protection

The developer can prevent admin-users from changing values of selected fields of approved objects. Deleting approved objects also can be prevented if your client’s business requires that.

Basic usage (developers)

  • Register the model for moderation using django_monitor.nq.


    import django_monitor
    from django.db import models
    class MyModel(models.Model):
  • Inherit MonitorAdmin, not ModelAdmin for moderated models.

    # in your
    from django_monitor.admin import MonitorAdmin
    class MyAdmin(MonitorAdmin):
    from django.contrib import admin, MyAdmin)


Django-monitor can not bring existing model instances under moderation. So, enqueue the model first and then only create model instances.

More details given at the documentation locations mentioned above.

Project details

Download files

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

Files for django-monitor, version 0.2.1a
Filename, size File type Python version Upload date Hashes
Filename, size django-monitor-0.2.1a.tar.gz (95.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page