{"action":"created","issue":{"url":"https://api.github.com/repos/djangonauts/django-hstore/issues/84","labels_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/84/comments","events_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/84/events","html_url":"https://github.com/djangonauts/django-hstore/issues/84","id":49908101,"number":84,"title":"update_query breaks transactions in django 1.7","user":{"login":"drag0nius","id":3494992,"avatar_url":"https://avatars.githubusercontent.com/u/3494992?v=3","gravatar_id":"","url":"https://api.github.com/users/drag0nius","html_url":"https://github.com/drag0nius","followers_url":"https://api.github.com/users/drag0nius/followers","following_url":"https://api.github.com/users/drag0nius/following{/other_user}","gists_url":"https://api.github.com/users/drag0nius/gists{/gist_id}","starred_url":"https://api.github.com/users/drag0nius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drag0nius/subscriptions","organizations_url":"https://api.github.com/users/drag0nius/orgs","repos_url":"https://api.github.com/users/drag0nius/repos","events_url":"https://api.github.com/users/drag0nius/events{/privacy}","received_events_url":"https://api.github.com/users/drag0nius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-24T16:11:45Z","updated_at":"2015-01-18T21:57:18Z","closed_at":null,"body":"*django_hstore.query.update_query* uses *transaction.is_managed* which was completely deprecated in Django 1.7, rendering whole HStoreManager incompatbile with new transaction management.\r\n\r\nBasically in 1.7 *transaction.is_managed* does not do or return anything and following code:\r\n\r\n    if not transaction.is_managed(using=self.db):\r\n            transaction.enter_transaction_management(using=self.db)\r\n\r\nalways tries to enter transaction management even if it's already inside atomic block.\r\n\r\nThe result is:\r\n\r\n    django.db.transaction.TransactionManagementError: This is forbidden when an 'atomic' block is active.\r\n\r\nEDIT:\r\n*transaction.commit_unless_managed* is used there too and is also deprecated."},"comment":{"url":"https://api.github.com/repos/djangonauts/django-hstore/issues/comments/70428200","html_url":"https://github.com/djangonauts/django-hstore/issues/84#issuecomment-70428200","issue_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/84","id":70428200,"user":{"login":"nemesisdesign","id":841044,"avatar_url":"https://avatars.githubusercontent.com/u/841044?v=3","gravatar_id":"","url":"https://api.github.com/users/nemesisdesign","html_url":"https://github.com/nemesisdesign","followers_url":"https://api.github.com/users/nemesisdesign/followers","following_url":"https://api.github.com/users/nemesisdesign/following{/other_user}","gists_url":"https://api.github.com/users/nemesisdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/nemesisdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemesisdesign/subscriptions","organizations_url":"https://api.github.com/users/nemesisdesign/orgs","repos_url":"https://api.github.com/users/nemesisdesign/repos","events_url":"https://api.github.com/users/nemesisdesign/events{/privacy}","received_events_url":"https://api.github.com/users/nemesisdesign/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T21:57:18Z","updated_at":"2015-01-18T21:57:18Z","body":"so any test case?"}}