Some companies have stricter policies for who can edit and who can publish content on their websites. The review queue app is an extension to versioning which collects commits for approval by a user with permissions.
review_queue.change_reviewedversioncommit permission is used to
determine who is allowed to approve commits.
To enabled the review queue,
WidgySiteneeds to inherit from
Register a subclass of
from django.contrib import admin from widgy.contrib.review_queue.admin import VersionCommitAdminBase from widgy.contrib.review_queue.models import ReviewedVersionCommit class VersionCommitAdmin(VersionCommitAdminBase): def get_site(self): return my_site admin.site.register(ReviewedVersionCommit, VersionCommitAdmin)
If upgrading from a non-reviewed site, a
widgy.contrib.review_queue.models.ReviewedVersionCommitobject must be created for each
widgy.models.VersionCommit. There is a management command to do this for you. It assumes that all existing commits should be approved.
The review queue’s undo (it can undo approvals) support requires Django >=
1.5 or the session-based
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'