def patch(self, request, *args, **kwargs):
with reversion.create_revision():<EOL><INDENT>reversion.set_user(request.user)<EOL>reversion.set_comment('<STR_LIT>' % request.META['<STR_LIT>'])<EOL>kwargs['<STR_LIT>'] = True<EOL>return self.update(request, *args, **kwargs)<EOL><DEDENT>
custom patch method to support django-reversion