django-monitor

0.2.1 Alpha BSD License    
5.0/5 2

  208 downloads

Django app to moderate model objects

description

download

specs

django-monitor is a Django app to moderate model objects. It was started as a clone of django-gatekeeper project but with some different set of requirements.The name monitor is just to distinguish it from an existing project, django-moderation. (The terms, monitor and moderate are used with same meaning everywhere in the source.)

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 is available at http://django-monitor.readthedocs.org/ and in the docs/ directory inside the source path.

Installation:

- Download the latest version from the bitbucket repo: http://bitbucket.org/rajeesh/django-monitor.

- Install using the setuptools as given below:

 python setup.py install

- Or copy the django_monitor directory to some place in your python path.

- Add 'django_monitor' to your project's settings.INSTALLED_APPS.

Basic usage (developers)

 Register the model for moderation using monitor.nq.

 Example:

 import django_monitor
 from django.db import models
 class MyModel(models.Model):
 pass

 django_monitor.nq(MyModel)


 Inherit MonitorAdmin, not ModelAdmin for moderated models.

 # in your admin.py
 from django_monitor.admin import MonitorAdmin
 class MyAdmin(MonitorAdmin):
 pass

 from django.contrib import admin
 admin.site.register(MyModel, MyAdmin)


More details at http://django-monitor.readthedocs.org. Or check the docs/ directory inside the source path, if you are working offline.
read more   
Last updated on August 4th, 2012

#model objects #objects moderator #Django model #Django #model #objects #moderator

0 User reviews so far.

SUBMIT