Version control?

163 views
Skip to first unread message

Daniel

unread,
Sep 16, 2014, 3:31:23 PM9/16/14
to wag...@googlegroups.com
Hello,

Has anyone tried integrating versional control into Wagtail using something like django-reversion? Or is this something that will eventually be added into Wagtail itself?

Thanks,
Daniel

Daniel

unread,
Sep 16, 2014, 6:04:59 PM9/16/14
to wag...@googlegroups.com
Update: So I'm able to see my pages being properly versioned in the database.. which is great. The only thing I need now is some kind of UI to help facilitate rollbacks and so on. I guess I could create a custom field that handles this. 

Daniel 

Bryce Groff

unread,
Sep 16, 2014, 6:26:05 PM9/16/14
to wag...@googlegroups.com
Hello Daniel,

You would need to roll your own UI as django-reversion does not have that functionality built in. Also I am pretty sure that wagtail has page revisions built in, but I have never used them, and as such cannot comment more than that.

Bryce

--
You received this message because you are subscribed to the Google Groups "Wagtail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wagtail+u...@googlegroups.com.
To post to this group, send email to wag...@googlegroups.com.
Visit this group at http://groups.google.com/group/wagtail.
To view this discussion on the web, visit https://groups.google.com/d/msgid/wagtail/75a3de3e-9c8e-4791-a695-9c305d67820e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Daniel

unread,
Sep 16, 2014, 7:45:46 PM9/16/14
to wag...@googlegroups.com
Hello Bryce,

I took another look at the database and sure enough found the wagtailcore_pagerevisions table like you mentioned. However, it seems like the data in this table is only being used to to indicate what the most recent edits are on the admin page. 

I'll see how I can apply that code to a custom UI.

Thanks,
Daniel  
Reply all
Reply to author
Forward
0 new messages