Implement form_valid() in DocumentRevision view.