I have a growing client mezzanine site at crossculturalconsult.com. The 
site is multi-lingual and uses markdown for editing page content.

There are a number of content editors.

I've been asked to provide change revision tracking for pages much like the 
tracking that exists on media-wiki so that revisions can be reviewed and 
undone if necessary. 

I installed django_reversion to see if it can help and I've set it up to 
use revisions always (using its middleware) and used the patch_admin 
utility to patch the Page admin. Changes to pages in admin do not seem to 
create versions.

If I explicitly create a version:

In [1]: from mezzanine.pages.models import Page
In [2]: import reversion
In [3]: page = Page.objects.get(title='About CCCS revised')
In [4]: reversion.register(Page)
Out[4]: mezzanine.pages.models.Page
In [5]: with reversion.create_revision():
    page.title_en = 'About CCCS'
    page.save()
   ...:     
In [6]: reversion.get_for_object(page)
Out[6]: [<Version: About CCCS>]

I don't see anything about the version in admin anywhere.

Am I missing something? Has anyone any experience with this?

Cheers,
Paul




-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to