{"action":"created","issue":{"url":"https://api.github.com/repos/django-extensions/django-extensions/issues/1215","repository_url":"https://api.github.com/repos/django-extensions/django-extensions","labels_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/1215/labels{/name}","comments_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/1215/comments","events_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/1215/events","html_url":"https://github.com/django-extensions/django-extensions/issues/1215","id":335849962,"node_id":"MDU6SXNzdWUzMzU4NDk5NjI=","number":1215,"title":"TransactionManagementError with syncdata management command","user":{"login":"Apreche","id":5847,"node_id":"MDQ6VXNlcjU4NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/5847?v=4","gravatar_id":"","url":"https://api.github.com/users/Apreche","html_url":"https://github.com/Apreche","followers_url":"https://api.github.com/users/Apreche/followers","following_url":"https://api.github.com/users/Apreche/following{/other_user}","gists_url":"https://api.github.com/users/Apreche/gists{/gist_id}","starred_url":"https://api.github.com/users/Apreche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apreche/subscriptions","organizations_url":"https://api.github.com/users/Apreche/orgs","repos_url":"https://api.github.com/users/Apreche/repos","events_url":"https://api.github.com/users/Apreche/events{/privacy}","received_events_url":"https://api.github.com/users/Apreche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T14:34:50Z","updated_at":"2018-07-03T20:19:30Z","closed_at":null,"author_association":"NONE","body":"I'm running django-extensions 2.0.7, Django 2.0.5 and Python 3.5.2. \r\n\r\nWhen I run the command `./manage.py syncdata` I see this error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"./manage.py\", line 15, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/core/management/__init__.py\", line 371, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/core/management/__init__.py\", line 365, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/core/management/base.py\", line 288, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/core/management/base.py\", line 335, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django_extensions/management/utils.py\", line 59, in inner\r\n    ret = func(self, *args, **kwargs)\r\n  File \"/usr/lib/python3.5/contextlib.py\", line 30, in inner\r\n    return func(*args, **kwds)\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django_extensions/management/commands/syncdata.py\", line 190, in handle\r\n    transaction.commit()\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/db/transaction.py\", line 35, in commit\r\n    get_connection(using).commit()\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 260, in commit\r\n    self.validate_no_atomic_block()\r\n  File \"/home/myuser/.virtualenvs/myproject/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 432, in validate_no_atomic_block\r\n    \"This is forbidden when an 'atomic' block is active.\")\r\ndjango.db.transaction.TransactionManagementError: This is forbidden when an 'atomic' block is active.\r\n```"},"comment":{"url":"https://api.github.com/repos/django-extensions/django-extensions/issues/comments/402280483","html_url":"https://github.com/django-extensions/django-extensions/issues/1215#issuecomment-402280483","issue_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/1215","id":402280483,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjI4MDQ4Mw==","user":{"login":"trbs","id":65552,"node_id":"MDQ6VXNlcjY1NTUy","avatar_url":"https://avatars0.githubusercontent.com/u/65552?v=4","gravatar_id":"","url":"https://api.github.com/users/trbs","html_url":"https://github.com/trbs","followers_url":"https://api.github.com/users/trbs/followers","following_url":"https://api.github.com/users/trbs/following{/other_user}","gists_url":"https://api.github.com/users/trbs/gists{/gist_id}","starred_url":"https://api.github.com/users/trbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trbs/subscriptions","organizations_url":"https://api.github.com/users/trbs/orgs","repos_url":"https://api.github.com/users/trbs/repos","events_url":"https://api.github.com/users/trbs/events{/privacy}","received_events_url":"https://api.github.com/users/trbs/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T20:19:30Z","updated_at":"2018-07-03T20:19:30Z","author_association":"MEMBER","body":"Please test with ffbda59286fb40c91dd3a7cc1c5b60fae0ac3a8d"}}
{"actor":{"display_login":"trbs"}}