django-moderation is reusable application for Django framework, that allows to moderate any model objects.
Python HTML Makefile
Latest commit 2e313fa Aug 26, 2016 @dominno committed on GitHub Merge pull request #150 from blag/update-readme-and-docs
Update README and documentation. Thank you @blag
Permalink
Failed to load latest commit information.
docs Add instructions for switching between South migrations and Django 1.… Aug 26, 2016
example_project Cleanup Example Project May 18, 2014
moderation Rename and tweak model fields to be shorter Aug 24, 2016
tests Rename and tweak model fields to be shorter Aug 24, 2016
.coveragerc Added Contributing guide, added tox.ini, added coverage, added exampl… Oct 15, 2013
.editorconfig Add EditorConfig file for indentation and newlines Feb 21, 2012
.gitignore Refactored docs structure. Closes #97 Jun 9, 2014
.travis.yml Don't try to support Django 1.10 yet Aug 23, 2016
LICENSE Fixed LICENSE typo. Mar 15, 2010
MANIFEST.in Update manifest Jun 15, 2014
Makefile Add a Makefile for convenience on running pep8 tests Nov 18, 2013
README.rst
runtests.py Remove autodiscover setting in favor of a separate AppConfig, a la dj… Aug 19, 2016
setup.py Version update Aug 25, 2016
tox.ini Don't try to support Django 1.10 yet Aug 23, 2016

README.rst

Introduction

https://travis-ci.org/dominno/django-moderation.png https://pypip.in/v/django-moderation/badge.png https://pypip.in/d/django-moderation/badge.png https://coveralls.io/repos/dominno/django-moderation/badge.png?branch=master

django-moderation is reusable application for Django framework, that allows to moderate any model objects.

Possible use cases:

  • User creates his profile, profile is not visible on site. It will be visible on site when moderator approves it.
  • User change his profile, old profile data is visible on site. New data will be visible on site when moderator approves it.

Features:

  • configurable admin integration(data changed in admin can be visible on site when moderator approves it)
  • moderation queue in admin
  • html differences of changes between versions of objects
  • configurable email notifications
  • custom model form that allows to edit changed data of object
  • auto approve/reject for selected user groups or user types
  • support for ImageField model fields on moderate object page
  • 100% PEP8 correct code
  • test coverage > 80%

Requirements

python 2.7, 3.3+

django >= 1.7, < 1.10

django-model-utils

Known issues

  • No Django 1.10 support yet
  • m2m relations in models are not currently supported
  • For Django 1.7, a query is run for every object in a query, resulting in N+1 total queries. For Django >= 1.8 only one additional query is run for each unmoderated query.

Documentation

Full module documentation is hosted at ReadTheDocs: http://django-moderation.readthedocs.org/

Contributors

Special thanks to all persons that contributed to this project.

Thank you for all ideas, bug fixes, patches.