{"action":"created","issue":{"url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/253","repository_url":"https://api.github.com/repos/treyhunner/django-simple-history","labels_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/253/comments","events_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/253/events","html_url":"https://github.com/treyhunner/django-simple-history/issues/253","id":196393953,"number":253,"title":"manage.py populate_history broken with Django 1.10","user":{"login":"nigel235","id":13557899,"avatar_url":"https://avatars.githubusercontent.com/u/13557899?v=3","gravatar_id":"","url":"https://api.github.com/users/nigel235","html_url":"https://github.com/nigel235","followers_url":"https://api.github.com/users/nigel235/followers","following_url":"https://api.github.com/users/nigel235/following{/other_user}","gists_url":"https://api.github.com/users/nigel235/gists{/gist_id}","starred_url":"https://api.github.com/users/nigel235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigel235/subscriptions","organizations_url":"https://api.github.com/users/nigel235/orgs","repos_url":"https://api.github.com/users/nigel235/repos","events_url":"https://api.github.com/users/nigel235/events{/privacy}","received_events_url":"https://api.github.com/users/nigel235/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-19T11:42:19Z","updated_at":"2017-01-17T00:07:41Z","closed_at":null,"body":"The option_list method of BaseCommand was deprecated in Django 1.8 and has been removed from Django 1.10:\r\nhttps://docs.djangoproject.com/en/1.8/howto/custom-management-commands/#django.core.management.BaseCommand.option_list\r\n\r\npython manage.py populate_history --help\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/home/nigel/.virtualenvs/sarah/lib/python3.5/site-packages/django/core/management/__init__.py\", line 367, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/home/nigel/.virtualenvs/sarah/lib/python3.5/site-packages/django/core/management/__init__.py\", line 359, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/home/nigel/.virtualenvs/sarah/lib/python3.5/site-packages/django/core/management/__init__.py\", line 208, in fetch_command\r\n    klass = load_command_class(app_name, subcommand)\r\n  File \"/home/nigel/.virtualenvs/sarah/lib/python3.5/site-packages/django/core/management/__init__.py\", line 40, in load_command_class\r\n    module = import_module('%s.management.commands.%s' % (app_name, name))\r\n  File \"/home/nigel/.virtualenvs/sarah/lib64/python3.5/importlib/__init__.py\", line 126, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 986, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 969, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 958, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 673, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 665, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 222, in _call_with_frames_removed\r\n  File \"/home/nigel/.virtualenvs/sarah/lib/python3.5/site-packages/simple_history/management/commands/populate_history.py\", line 16, in <module>\r\n    class Command(BaseCommand):\r\n  File \"/home/nigel/.virtualenvs/sarah/lib/python3.5/site-packages/simple_history/management/commands/populate_history.py\", line 30, in Command\r\n    option_list = BaseCommand.option_list + (\r\nAttributeError: type object 'BaseCommand' has no attribute 'option_list'\r\n"},"comment":{"url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/comments/272989494","html_url":"https://github.com/treyhunner/django-simple-history/issues/253#issuecomment-272989494","issue_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/253","id":272989494,"user":{"login":"shanemgrey","id":3431806,"avatar_url":"https://avatars.githubusercontent.com/u/3431806?v=3","gravatar_id":"","url":"https://api.github.com/users/shanemgrey","html_url":"https://github.com/shanemgrey","followers_url":"https://api.github.com/users/shanemgrey/followers","following_url":"https://api.github.com/users/shanemgrey/following{/other_user}","gists_url":"https://api.github.com/users/shanemgrey/gists{/gist_id}","starred_url":"https://api.github.com/users/shanemgrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanemgrey/subscriptions","organizations_url":"https://api.github.com/users/shanemgrey/orgs","repos_url":"https://api.github.com/users/shanemgrey/repos","events_url":"https://api.github.com/users/shanemgrey/events{/privacy}","received_events_url":"https://api.github.com/users/shanemgrey/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T00:07:41Z","updated_at":"2017-01-17T00:07:41Z","body":"To add to the link @nessalc left, you can uninstall the existing version and use pip to install from the django110 version like so.\r\n\r\n`pip install git+https://github.com/treyhunner/django-simple-history.git@django110`\r\n\r\nBut use at your own risk.  I'm sure there are reasons that branch is not yet merged into master."}}
{"actor":{"display_login":"shanemgrey"}}