{"action":"created","issue":{"url":"https://api.github.com/repos/etianen/django-reversion/issues/495","repository_url":"https://api.github.com/repos/etianen/django-reversion","labels_url":"https://api.github.com/repos/etianen/django-reversion/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/etianen/django-reversion/issues/495/comments","events_url":"https://api.github.com/repos/etianen/django-reversion/issues/495/events","html_url":"https://github.com/etianen/django-reversion/issues/495","id":140624211,"number":495,"title":"User ID when revert a version ?","user":{"login":"cesclondon87","id":5227868,"avatar_url":"https://avatars.githubusercontent.com/u/5227868?v=3","gravatar_id":"","url":"https://api.github.com/users/cesclondon87","html_url":"https://github.com/cesclondon87","followers_url":"https://api.github.com/users/cesclondon87/followers","following_url":"https://api.github.com/users/cesclondon87/following{/other_user}","gists_url":"https://api.github.com/users/cesclondon87/gists{/gist_id}","starred_url":"https://api.github.com/users/cesclondon87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesclondon87/subscriptions","organizations_url":"https://api.github.com/users/cesclondon87/orgs","repos_url":"https://api.github.com/users/cesclondon87/repos","events_url":"https://api.github.com/users/cesclondon87/events{/privacy}","received_events_url":"https://api.github.com/users/cesclondon87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-14T09:45:07Z","updated_at":"2016-03-15T13:46:06Z","closed_at":null,"body":"Hi,\r\nI'm a newbie (I use django 1.9 & python 3.4 & postgresql 9.4).\r\nI see that django-reversion (1.10.1) doesn't save user_id when a user revert a version (it only save author when save a new revision). \r\nWhy? Can I set author with a signal or I have to add Custom metadata table (with add_to_meta method)?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/etianen/django-reversion/issues/comments/196824528","html_url":"https://github.com/etianen/django-reversion/issues/495#issuecomment-196824528","issue_url":"https://api.github.com/repos/etianen/django-reversion/issues/495","id":196824528,"user":{"login":"cesclondon87","id":5227868,"avatar_url":"https://avatars.githubusercontent.com/u/5227868?v=3","gravatar_id":"","url":"https://api.github.com/users/cesclondon87","html_url":"https://github.com/cesclondon87","followers_url":"https://api.github.com/users/cesclondon87/followers","following_url":"https://api.github.com/users/cesclondon87/following{/other_user}","gists_url":"https://api.github.com/users/cesclondon87/gists{/gist_id}","starred_url":"https://api.github.com/users/cesclondon87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesclondon87/subscriptions","organizations_url":"https://api.github.com/users/cesclondon87/orgs","repos_url":"https://api.github.com/users/cesclondon87/repos","events_url":"https://api.github.com/users/cesclondon87/events{/privacy}","received_events_url":"https://api.github.com/users/cesclondon87/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T13:46:06Z","updated_at":"2016-03-15T13:46:06Z","body":">with reversion.create_revision():\r\n>    reversion.set_user(your_user)\r\n    reversion.get_for_object(your_object)[0].revision.revert()\r\n\r\nI'm sorry but I'm not able to use transaction.Anyway i'm using reversion.middleware.RevisionMiddleware. \r\n\r\n> Reverting a revision is identical to creating a new revision.\r\n\r\nI'm agree but if i use RevisionMiddleware why doesn't save user id when execute a revert operation?\r\n"}}