{"action":"created","issue":{"url":"https://api.github.com/repos/jazzband/django-constance/issues/164","repository_url":"https://api.github.com/repos/jazzband/django-constance","labels_url":"https://api.github.com/repos/jazzband/django-constance/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/jazzband/django-constance/issues/164/comments","events_url":"https://api.github.com/repos/jazzband/django-constance/issues/164/events","html_url":"https://github.com/jazzband/django-constance/pull/164","id":179021061,"number":164,"title":"Backport command functonality from django-constance-cli","user":{"login":"therefromhere","id":197540,"avatar_url":"https://avatars.githubusercontent.com/u/197540?v=3","gravatar_id":"","url":"https://api.github.com/users/therefromhere","html_url":"https://github.com/therefromhere","followers_url":"https://api.github.com/users/therefromhere/followers","following_url":"https://api.github.com/users/therefromhere/following{/other_user}","gists_url":"https://api.github.com/users/therefromhere/gists{/gist_id}","starred_url":"https://api.github.com/users/therefromhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therefromhere/subscriptions","organizations_url":"https://api.github.com/users/therefromhere/orgs","repos_url":"https://api.github.com/users/therefromhere/repos","events_url":"https://api.github.com/users/therefromhere/events{/privacy}","received_events_url":"https://api.github.com/users/therefromhere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jezdez","id":1610,"avatar_url":"https://avatars.githubusercontent.com/u/1610?v=3","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"assignees":[{"login":"jezdez","id":1610,"avatar_url":"https://avatars.githubusercontent.com/u/1610?v=3","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-09-24T09:25:16Z","updated_at":"2016-09-28T16:15:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jazzband/django-constance/pulls/164","html_url":"https://github.com/jazzband/django-constance/pull/164","diff_url":"https://github.com/jazzband/django-constance/pull/164.diff","patch_url":"https://github.com/jazzband/django-constance/pull/164.patch"},"body":"Backporting command function from https://github.com/NZME/django-constance-cli in as requested by @jezdez in NZME/django-constance-cli#2\r\n\r\nBasic usage:\r\n```\r\n./manage.py constance list\r\n./manage.py constance get FOO\r\n./manage.py constance set FOO bar\r\n```\r\n\r\nA couple of issues to discuss before merging:\r\n\r\n* ~~Should it be possible to disable this command functionality?   I could do this by moving the command to a sub-app (eg constance.cli), or with a setting?~~\r\n** I'm not sure it's necessary to allow this to be disabled (eg, I don't think it's a security risk - if you've got manage.py access then you can do anything anyway).\r\n\r\n* ~~The command line syntax could be expanded or altered, I've loosely modelled it on git config, any better suggestions?~~\r\n** I've updated as per discussion to positional arguments"},"comment":{"url":"https://api.github.com/repos/jazzband/django-constance/issues/comments/250217016","html_url":"https://github.com/jazzband/django-constance/pull/164#issuecomment-250217016","issue_url":"https://api.github.com/repos/jazzband/django-constance/issues/164","id":250217016,"user":{"login":"camilonova","id":202559,"avatar_url":"https://avatars.githubusercontent.com/u/202559?v=3","gravatar_id":"","url":"https://api.github.com/users/camilonova","html_url":"https://github.com/camilonova","followers_url":"https://api.github.com/users/camilonova/followers","following_url":"https://api.github.com/users/camilonova/following{/other_user}","gists_url":"https://api.github.com/users/camilonova/gists{/gist_id}","starred_url":"https://api.github.com/users/camilonova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilonova/subscriptions","organizations_url":"https://api.github.com/users/camilonova/orgs","repos_url":"https://api.github.com/users/camilonova/repos","events_url":"https://api.github.com/users/camilonova/events{/privacy}","received_events_url":"https://api.github.com/users/camilonova/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T16:15:41Z","updated_at":"2016-09-28T16:15:41Z","body":"@therefromhere Lets wait for @jezdez "}}
{"actor":{"display_login":"camilonova"}}