{"action":"closed","issue":{"url":"https://api.github.com/repos/nijel/weblate/issues/733","labels_url":"https://api.github.com/repos/nijel/weblate/issues/733/labels{/name}","comments_url":"https://api.github.com/repos/nijel/weblate/issues/733/comments","events_url":"https://api.github.com/repos/nijel/weblate/issues/733/events","html_url":"https://github.com/nijel/weblate/issues/733","id":71516403,"number":733,"title":"System check: trans.IndexUpdate.unit","user":{"login":"nblock","id":131119,"avatar_url":"https://avatars.githubusercontent.com/u/131119?v=3","gravatar_id":"","url":"https://api.github.com/users/nblock","html_url":"https://github.com/nblock","followers_url":"https://api.github.com/users/nblock/followers","following_url":"https://api.github.com/users/nblock/following{/other_user}","gists_url":"https://api.github.com/users/nblock/gists{/gist_id}","starred_url":"https://api.github.com/users/nblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nblock/subscriptions","organizations_url":"https://api.github.com/users/nblock/orgs","repos_url":"https://api.github.com/users/nblock/repos","events_url":"https://api.github.com/users/nblock/events{/privacy}","received_events_url":"https://api.github.com/users/nblock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nijel/weblate/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/nijel/weblate/labels/newbie","name":"newbie","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nijel/weblate/milestones/15","html_url":"https://github.com/nijel/weblate/milestones/2.3","labels_url":"https://api.github.com/repos/nijel/weblate/milestones/15/labels","id":986660,"number":15,"title":"2.3","description":"","creator":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":38,"state":"open","created_at":"2015-02-19T13:13:58Z","updated_at":"2015-05-21T19:47:20Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-28T08:02:24Z","updated_at":"2015-05-21T19:47:20Z","closed_at":"2015-05-21T19:47:20Z","body":"Hi,\r\nI just noticed the following:\r\n```\r\n/var/www/weblate-venv/bin/python /var/www/weblate/manage.py check\r\nSystem check identified some issues:\r\n\r\nWARNINGS:\r\ntrans.IndexUpdate.unit: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.\r\n\tHINT: ForeignKey(unique=True) is usually better served by a OneToOneField.\r\n\r\nSystem check identified 1 issue (0 silenced).\r\n```\r\nPython 2.7.9\r\nWeblate 2.2\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12354776-system-check-trans-indexupdate-unit?utm_campaign=plugin&utm_content=tracker%2F253393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F253393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}