{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/53","id":15128810,"html_url":"https://github.com/tzangms/django-bootstrap-form/pull/53","diff_url":"https://github.com/tzangms/django-bootstrap-form/pull/53.diff","patch_url":"https://github.com/tzangms/django-bootstrap-form/pull/53.patch","issue_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues/53","number":53,"state":"closed","locked":false,"title":"Fix dict created at compile time in bootstrap_horizontal","user":{"login":"stephane","id":1815,"avatar_url":"https://avatars.githubusercontent.com/u/1815?v=3","gravatar_id":"","url":"https://api.github.com/users/stephane","html_url":"https://github.com/stephane","followers_url":"https://api.github.com/users/stephane/followers","following_url":"https://api.github.com/users/stephane/following{/other_user}","gists_url":"https://api.github.com/users/stephane/gists{/gist_id}","starred_url":"https://api.github.com/users/stephane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephane/subscriptions","organizations_url":"https://api.github.com/users/stephane/orgs","repos_url":"https://api.github.com/users/stephane/repos","events_url":"https://api.github.com/users/stephane/events{/privacy}","received_events_url":"https://api.github.com/users/stephane/received_events","type":"User","site_admin":false},"body":"It's a usual pitfall in Python to instanciate an object as default value in function.\r\n\r\nhttp://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmines","created_at":"2014-04-24T16:31:58Z","updated_at":"2015-03-09T14:58:02Z","closed_at":"2015-03-09T14:58:02Z","merged_at":"2015-03-09T14:58:02Z","merge_commit_sha":"fe8346ff2ddc56eec2d1a27cd10365d9cba486d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/53/commits","review_comments_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/53/comments","review_comment_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues/53/comments","statuses_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/statuses/61e302814434294f1a1f41482c33f17dcf54d1dc","head":{"label":"stephane:fix-bootstrap-horizontal-arg","ref":"fix-bootstrap-horizontal-arg","sha":"61e302814434294f1a1f41482c33f17dcf54d1dc","user":{"login":"stephane","id":1815,"avatar_url":"https://avatars.githubusercontent.com/u/1815?v=3","gravatar_id":"","url":"https://api.github.com/users/stephane","html_url":"https://github.com/stephane","followers_url":"https://api.github.com/users/stephane/followers","following_url":"https://api.github.com/users/stephane/following{/other_user}","gists_url":"https://api.github.com/users/stephane/gists{/gist_id}","starred_url":"https://api.github.com/users/stephane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephane/subscriptions","organizations_url":"https://api.github.com/users/stephane/orgs","repos_url":"https://api.github.com/users/stephane/repos","events_url":"https://api.github.com/users/stephane/events{/privacy}","received_events_url":"https://api.github.com/users/stephane/received_events","type":"User","site_admin":false},"repo":{"id":19115332,"name":"django-bootstrap-form","full_name":"stephane/django-bootstrap-form","owner":{"login":"stephane","id":1815,"avatar_url":"https://avatars.githubusercontent.com/u/1815?v=3","gravatar_id":"","url":"https://api.github.com/users/stephane","html_url":"https://github.com/stephane","followers_url":"https://api.github.com/users/stephane/followers","following_url":"https://api.github.com/users/stephane/following{/other_user}","gists_url":"https://api.github.com/users/stephane/gists{/gist_id}","starred_url":"https://api.github.com/users/stephane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephane/subscriptions","organizations_url":"https://api.github.com/users/stephane/orgs","repos_url":"https://api.github.com/users/stephane/repos","events_url":"https://api.github.com/users/stephane/events{/privacy}","received_events_url":"https://api.github.com/users/stephane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephane/django-bootstrap-form","description":"Twitter Bootstrap for Django Form","fork":true,"url":"https://api.github.com/repos/stephane/django-bootstrap-form","forks_url":"https://api.github.com/repos/stephane/django-bootstrap-form/forks","keys_url":"https://api.github.com/repos/stephane/django-bootstrap-form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephane/django-bootstrap-form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephane/django-bootstrap-form/teams","hooks_url":"https://api.github.com/repos/stephane/django-bootstrap-form/hooks","issue_events_url":"https://api.github.com/repos/stephane/django-bootstrap-form/issues/events{/number}","events_url":"https://api.github.com/repos/stephane/django-bootstrap-form/events","assignees_url":"https://api.github.com/repos/stephane/django-bootstrap-form/assignees{/user}","branches_url":"https://api.github.com/repos/stephane/django-bootstrap-form/branches{/branch}","tags_url":"https://api.github.com/repos/stephane/django-bootstrap-form/tags","blobs_url":"https://api.github.com/repos/stephane/django-bootstrap-form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephane/django-bootstrap-form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephane/django-bootstrap-form/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephane/django-bootstrap-form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephane/django-bootstrap-form/statuses/{sha}","languages_url":"https://api.github.com/repos/stephane/django-bootstrap-form/languages","stargazers_url":"https://api.github.com/repos/stephane/django-bootstrap-form/stargazers","contributors_url":"https://api.github.com/repos/stephane/django-bootstrap-form/contributors","subscribers_url":"https://api.github.com/repos/stephane/django-bootstrap-form/subscribers","subscription_url":"https://api.github.com/repos/stephane/django-bootstrap-form/subscription","commits_url":"https://api.github.com/repos/stephane/django-bootstrap-form/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephane/django-bootstrap-form/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephane/django-bootstrap-form/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephane/django-bootstrap-form/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephane/django-bootstrap-form/contents/{+path}","compare_url":"https://api.github.com/repos/stephane/django-bootstrap-form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephane/django-bootstrap-form/merges","archive_url":"https://api.github.com/repos/stephane/django-bootstrap-form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephane/django-bootstrap-form/downloads","issues_url":"https://api.github.com/repos/stephane/django-bootstrap-form/issues{/number}","pulls_url":"https://api.github.com/repos/stephane/django-bootstrap-form/pulls{/number}","milestones_url":"https://api.github.com/repos/stephane/django-bootstrap-form/milestones{/number}","notifications_url":"https://api.github.com/repos/stephane/django-bootstrap-form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephane/django-bootstrap-form/labels{/name}","releases_url":"https://api.github.com/repos/stephane/django-bootstrap-form/releases{/id}","created_at":"2014-04-24T16:17:51Z","updated_at":"2014-04-28T14:43:59Z","pushed_at":"2014-04-28T14:43:57Z","git_url":"git://github.com/stephane/django-bootstrap-form.git","ssh_url":"git@github.com:stephane/django-bootstrap-form.git","clone_url":"https://github.com/stephane/django-bootstrap-form.git","svn_url":"https://github.com/stephane/django-bootstrap-form","homepage":"","size":341,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tzangms:master","ref":"master","sha":"5dce9701797eac9560457c9936c78a41c9a96c01","user":{"login":"tzangms","id":59990,"avatar_url":"https://avatars.githubusercontent.com/u/59990?v=3","gravatar_id":"","url":"https://api.github.com/users/tzangms","html_url":"https://github.com/tzangms","followers_url":"https://api.github.com/users/tzangms/followers","following_url":"https://api.github.com/users/tzangms/following{/other_user}","gists_url":"https://api.github.com/users/tzangms/gists{/gist_id}","starred_url":"https://api.github.com/users/tzangms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzangms/subscriptions","organizations_url":"https://api.github.com/users/tzangms/orgs","repos_url":"https://api.github.com/users/tzangms/repos","events_url":"https://api.github.com/users/tzangms/events{/privacy}","received_events_url":"https://api.github.com/users/tzangms/received_events","type":"User","site_admin":false},"repo":{"id":2244010,"name":"django-bootstrap-form","full_name":"tzangms/django-bootstrap-form","owner":{"login":"tzangms","id":59990,"avatar_url":"https://avatars.githubusercontent.com/u/59990?v=3","gravatar_id":"","url":"https://api.github.com/users/tzangms","html_url":"https://github.com/tzangms","followers_url":"https://api.github.com/users/tzangms/followers","following_url":"https://api.github.com/users/tzangms/following{/other_user}","gists_url":"https://api.github.com/users/tzangms/gists{/gist_id}","starred_url":"https://api.github.com/users/tzangms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzangms/subscriptions","organizations_url":"https://api.github.com/users/tzangms/orgs","repos_url":"https://api.github.com/users/tzangms/repos","events_url":"https://api.github.com/users/tzangms/events{/privacy}","received_events_url":"https://api.github.com/users/tzangms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tzangms/django-bootstrap-form","description":"Twitter Bootstrap for Django Form","fork":false,"url":"https://api.github.com/repos/tzangms/django-bootstrap-form","forks_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/forks","keys_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/teams","hooks_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/hooks","issue_events_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues/events{/number}","events_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/events","assignees_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/assignees{/user}","branches_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/branches{/branch}","tags_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/tags","blobs_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/git/refs{/sha}","trees_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/statuses/{sha}","languages_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/languages","stargazers_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/stargazers","contributors_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/contributors","subscribers_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/subscribers","subscription_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/subscription","commits_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/commits{/sha}","git_commits_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/git/commits{/sha}","comments_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/comments{/number}","issue_comment_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues/comments{/number}","contents_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/contents/{+path}","compare_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/merges","archive_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/downloads","issues_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues{/number}","pulls_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls{/number}","milestones_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/milestones{/number}","notifications_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/labels{/name}","releases_url":"https://api.github.com/repos/tzangms/django-bootstrap-form/releases{/id}","created_at":"2011-08-21T16:04:18Z","updated_at":"2015-03-09T14:56:46Z","pushed_at":"2015-03-09T14:58:02Z","git_url":"git://github.com/tzangms/django-bootstrap-form.git","ssh_url":"git@github.com:tzangms/django-bootstrap-form.git","clone_url":"https://github.com/tzangms/django-bootstrap-form.git","svn_url":"https://github.com/tzangms/django-bootstrap-form","homepage":"","size":800,"stargazers_count":338,"watchers_count":338,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":21,"forks":113,"open_issues":21,"watchers":338,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/53"},"html":{"href":"https://github.com/tzangms/django-bootstrap-form/pull/53"},"issue":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues/53"},"comments":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/tzangms/django-bootstrap-form/statuses/61e302814434294f1a1f41482c33f17dcf54d1dc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tzangms","id":59990,"avatar_url":"https://avatars.githubusercontent.com/u/59990?v=3","gravatar_id":"","url":"https://api.github.com/users/tzangms","html_url":"https://github.com/tzangms","followers_url":"https://api.github.com/users/tzangms/followers","following_url":"https://api.github.com/users/tzangms/following{/other_user}","gists_url":"https://api.github.com/users/tzangms/gists{/gist_id}","starred_url":"https://api.github.com/users/tzangms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzangms/subscriptions","organizations_url":"https://api.github.com/users/tzangms/orgs","repos_url":"https://api.github.com/users/tzangms/repos","events_url":"https://api.github.com/users/tzangms/events{/privacy}","received_events_url":"https://api.github.com/users/tzangms/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":6,"changed_files":1}}