{"action":"opened","number":710,"pull_request":{"url":"https://api.github.com/repos/django-extensions/django-extensions/pulls/710","id":41054125,"html_url":"https://github.com/django-extensions/django-extensions/pull/710","diff_url":"https://github.com/django-extensions/django-extensions/pull/710.diff","patch_url":"https://github.com/django-extensions/django-extensions/pull/710.patch","issue_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/710","number":710,"state":"open","locked":false,"title":"Using django-admin instead of manage.py for ipython notebook overwrites PYTHONPATH from environment","user":{"login":"haakenlid","id":1686266,"avatar_url":"https://avatars.githubusercontent.com/u/1686266?v=3","gravatar_id":"","url":"https://api.github.com/users/haakenlid","html_url":"https://github.com/haakenlid","followers_url":"https://api.github.com/users/haakenlid/followers","following_url":"https://api.github.com/users/haakenlid/following{/other_user}","gists_url":"https://api.github.com/users/haakenlid/gists{/gist_id}","starred_url":"https://api.github.com/users/haakenlid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haakenlid/subscriptions","organizations_url":"https://api.github.com/users/haakenlid/orgs","repos_url":"https://api.github.com/users/haakenlid/repos","events_url":"https://api.github.com/users/haakenlid/events{/privacy}","received_events_url":"https://api.github.com/users/haakenlid/received_events","type":"User","site_admin":false},"body":"PYTHONPATH set in environmental variable should not be discarded by `shell_plus` management command.\r\n\r\nHow to reproduce the bug:\r\n\r\n    $ export PYTHONPATH=\"/www/django-project/\"\r\n    $ django-admin shell_plus --notebook\r\n\r\nIn this case `/www/django-project/` does not end up on sys.path. Instead the folder that contains `django-admin` binary will be added. ","created_at":"2015-07-28T20:05:28Z","updated_at":"2015-07-28T20:05:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django-extensions/django-extensions/pulls/710/commits","review_comments_url":"https://api.github.com/repos/django-extensions/django-extensions/pulls/710/comments","review_comment_url":"https://api.github.com/repos/django-extensions/django-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/710/comments","statuses_url":"https://api.github.com/repos/django-extensions/django-extensions/statuses/d8d920e9dbeed5e9cea159cd3a270d709fa1a4a8","head":{"label":"haakenlid:master","ref":"master","sha":"d8d920e9dbeed5e9cea159cd3a270d709fa1a4a8","user":{"login":"haakenlid","id":1686266,"avatar_url":"https://avatars.githubusercontent.com/u/1686266?v=3","gravatar_id":"","url":"https://api.github.com/users/haakenlid","html_url":"https://github.com/haakenlid","followers_url":"https://api.github.com/users/haakenlid/followers","following_url":"https://api.github.com/users/haakenlid/following{/other_user}","gists_url":"https://api.github.com/users/haakenlid/gists{/gist_id}","starred_url":"https://api.github.com/users/haakenlid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haakenlid/subscriptions","organizations_url":"https://api.github.com/users/haakenlid/orgs","repos_url":"https://api.github.com/users/haakenlid/repos","events_url":"https://api.github.com/users/haakenlid/events{/privacy}","received_events_url":"https://api.github.com/users/haakenlid/received_events","type":"User","site_admin":false},"repo":{"id":39852106,"name":"django-extensions","full_name":"haakenlid/django-extensions","owner":{"login":"haakenlid","id":1686266,"avatar_url":"https://avatars.githubusercontent.com/u/1686266?v=3","gravatar_id":"","url":"https://api.github.com/users/haakenlid","html_url":"https://github.com/haakenlid","followers_url":"https://api.github.com/users/haakenlid/followers","following_url":"https://api.github.com/users/haakenlid/following{/other_user}","gists_url":"https://api.github.com/users/haakenlid/gists{/gist_id}","starred_url":"https://api.github.com/users/haakenlid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haakenlid/subscriptions","organizations_url":"https://api.github.com/users/haakenlid/orgs","repos_url":"https://api.github.com/users/haakenlid/repos","events_url":"https://api.github.com/users/haakenlid/events{/privacy}","received_events_url":"https://api.github.com/users/haakenlid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haakenlid/django-extensions","description":"This is a repository for collecting global custom management extensions for the Django Framework. ","fork":true,"url":"https://api.github.com/repos/haakenlid/django-extensions","forks_url":"https://api.github.com/repos/haakenlid/django-extensions/forks","keys_url":"https://api.github.com/repos/haakenlid/django-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haakenlid/django-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haakenlid/django-extensions/teams","hooks_url":"https://api.github.com/repos/haakenlid/django-extensions/hooks","issue_events_url":"https://api.github.com/repos/haakenlid/django-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/haakenlid/django-extensions/events","assignees_url":"https://api.github.com/repos/haakenlid/django-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/haakenlid/django-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/haakenlid/django-extensions/tags","blobs_url":"https://api.github.com/repos/haakenlid/django-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haakenlid/django-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haakenlid/django-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/haakenlid/django-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haakenlid/django-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/haakenlid/django-extensions/languages","stargazers_url":"https://api.github.com/repos/haakenlid/django-extensions/stargazers","contributors_url":"https://api.github.com/repos/haakenlid/django-extensions/contributors","subscribers_url":"https://api.github.com/repos/haakenlid/django-extensions/subscribers","subscription_url":"https://api.github.com/repos/haakenlid/django-extensions/subscription","commits_url":"https://api.github.com/repos/haakenlid/django-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/haakenlid/django-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/haakenlid/django-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/haakenlid/django-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/haakenlid/django-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/haakenlid/django-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haakenlid/django-extensions/merges","archive_url":"https://api.github.com/repos/haakenlid/django-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haakenlid/django-extensions/downloads","issues_url":"https://api.github.com/repos/haakenlid/django-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/haakenlid/django-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/haakenlid/django-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/haakenlid/django-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haakenlid/django-extensions/labels{/name}","releases_url":"https://api.github.com/repos/haakenlid/django-extensions/releases{/id}","created_at":"2015-07-28T18:52:59Z","updated_at":"2015-07-28T18:53:00Z","pushed_at":"2015-07-28T19:52:58Z","git_url":"git://github.com/haakenlid/django-extensions.git","ssh_url":"git@github.com:haakenlid/django-extensions.git","clone_url":"https://github.com/haakenlid/django-extensions.git","svn_url":"https://github.com/haakenlid/django-extensions","homepage":"http://django-extensions.readthedocs.org","size":5200,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"django-extensions:master","ref":"master","sha":"eb1c63d14096567bd121b9ccaf326e3a2aff2674","user":{"login":"django-extensions","id":65559,"avatar_url":"https://avatars.githubusercontent.com/u/65559?v=3","gravatar_id":"","url":"https://api.github.com/users/django-extensions","html_url":"https://github.com/django-extensions","followers_url":"https://api.github.com/users/django-extensions/followers","following_url":"https://api.github.com/users/django-extensions/following{/other_user}","gists_url":"https://api.github.com/users/django-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/django-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-extensions/subscriptions","organizations_url":"https://api.github.com/users/django-extensions/orgs","repos_url":"https://api.github.com/users/django-extensions/repos","events_url":"https://api.github.com/users/django-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/django-extensions/received_events","type":"Organization","site_admin":false},"repo":{"id":155815,"name":"django-extensions","full_name":"django-extensions/django-extensions","owner":{"login":"django-extensions","id":65559,"avatar_url":"https://avatars.githubusercontent.com/u/65559?v=3","gravatar_id":"","url":"https://api.github.com/users/django-extensions","html_url":"https://github.com/django-extensions","followers_url":"https://api.github.com/users/django-extensions/followers","following_url":"https://api.github.com/users/django-extensions/following{/other_user}","gists_url":"https://api.github.com/users/django-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/django-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-extensions/subscriptions","organizations_url":"https://api.github.com/users/django-extensions/orgs","repos_url":"https://api.github.com/users/django-extensions/repos","events_url":"https://api.github.com/users/django-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/django-extensions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django-extensions/django-extensions","description":"This is a repository for collecting global custom management extensions for the Django Framework. ","fork":false,"url":"https://api.github.com/repos/django-extensions/django-extensions","forks_url":"https://api.github.com/repos/django-extensions/django-extensions/forks","keys_url":"https://api.github.com/repos/django-extensions/django-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django-extensions/django-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django-extensions/django-extensions/teams","hooks_url":"https://api.github.com/repos/django-extensions/django-extensions/hooks","issue_events_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/django-extensions/django-extensions/events","assignees_url":"https://api.github.com/repos/django-extensions/django-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/django-extensions/django-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/django-extensions/django-extensions/tags","blobs_url":"https://api.github.com/repos/django-extensions/django-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django-extensions/django-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django-extensions/django-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/django-extensions/django-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django-extensions/django-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/django-extensions/django-extensions/languages","stargazers_url":"https://api.github.com/repos/django-extensions/django-extensions/stargazers","contributors_url":"https://api.github.com/repos/django-extensions/django-extensions/contributors","subscribers_url":"https://api.github.com/repos/django-extensions/django-extensions/subscribers","subscription_url":"https://api.github.com/repos/django-extensions/django-extensions/subscription","commits_url":"https://api.github.com/repos/django-extensions/django-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/django-extensions/django-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/django-extensions/django-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/django-extensions/django-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/django-extensions/django-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/django-extensions/django-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django-extensions/django-extensions/merges","archive_url":"https://api.github.com/repos/django-extensions/django-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django-extensions/django-extensions/downloads","issues_url":"https://api.github.com/repos/django-extensions/django-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/django-extensions/django-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/django-extensions/django-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/django-extensions/django-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django-extensions/django-extensions/labels{/name}","releases_url":"https://api.github.com/repos/django-extensions/django-extensions/releases{/id}","created_at":"2009-03-21T16:11:19Z","updated_at":"2015-07-28T19:17:24Z","pushed_at":"2015-07-23T09:36:00Z","git_url":"git://github.com/django-extensions/django-extensions.git","ssh_url":"git@github.com:django-extensions/django-extensions.git","clone_url":"https://github.com/django-extensions/django-extensions.git","svn_url":"https://github.com/django-extensions/django-extensions","homepage":"http://django-extensions.readthedocs.org","size":5200,"stargazers_count":2389,"watchers_count":2389,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":530,"mirror_url":null,"open_issues_count":46,"forks":530,"open_issues":46,"watchers":2389,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django-extensions/django-extensions/pulls/710"},"html":{"href":"https://github.com/django-extensions/django-extensions/pull/710"},"issue":{"href":"https://api.github.com/repos/django-extensions/django-extensions/issues/710"},"comments":{"href":"https://api.github.com/repos/django-extensions/django-extensions/issues/710/comments"},"review_comments":{"href":"https://api.github.com/repos/django-extensions/django-extensions/pulls/710/comments"},"review_comment":{"href":"https://api.github.com/repos/django-extensions/django-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django-extensions/django-extensions/pulls/710/commits"},"statuses":{"href":"https://api.github.com/repos/django-extensions/django-extensions/statuses/d8d920e9dbeed5e9cea159cd3a270d709fa1a4a8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":8,"deletions":5,"changed_files":1}}