{"action":"created","issue":{"url":"https://api.github.com/repos/pennersr/django-allauth/issues/1399","repository_url":"https://api.github.com/repos/pennersr/django-allauth","labels_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1399/labels{/name}","comments_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1399/comments","events_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1399/events","html_url":"https://github.com/pennersr/django-allauth/issues/1399","id":159042745,"number":1399,"title":"What is the motivation to hold the data for socialaccounts in a model instead of the settings?","user":{"login":"cdvv7788","id":5531776,"avatar_url":"https://avatars.githubusercontent.com/u/5531776?v=3","gravatar_id":"","url":"https://api.github.com/users/cdvv7788","html_url":"https://github.com/cdvv7788","followers_url":"https://api.github.com/users/cdvv7788/followers","following_url":"https://api.github.com/users/cdvv7788/following{/other_user}","gists_url":"https://api.github.com/users/cdvv7788/gists{/gist_id}","starred_url":"https://api.github.com/users/cdvv7788/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdvv7788/subscriptions","organizations_url":"https://api.github.com/users/cdvv7788/orgs","repos_url":"https://api.github.com/users/cdvv7788/repos","events_url":"https://api.github.com/users/cdvv7788/events{/privacy}","received_events_url":"https://api.github.com/users/cdvv7788/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-07T22:51:56Z","updated_at":"2016-06-27T14:18:01Z","closed_at":"2016-06-27T14:18:01Z","body":"I have been using django-allauth for a while now and every time i create a new instance i wonder why the data required for a social connection is hold into a model instead of the settings. This makes somewhat difficult having several instances and complicates the automated deployment of new instances.\r\nI know that some additional data is stored and related to the socialaccount object, but that is not something that cannot be done with settings.\r\nIs there any specific reason that i am missing for this design decision?\r\nPD. not complaining, just curious."},"comment":{"url":"https://api.github.com/repos/pennersr/django-allauth/issues/comments/228758647","html_url":"https://github.com/pennersr/django-allauth/issues/1399#issuecomment-228758647","issue_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1399","id":228758647,"user":{"login":"pennersr","id":201022,"avatar_url":"https://avatars.githubusercontent.com/u/201022?v=3","gravatar_id":"","url":"https://api.github.com/users/pennersr","html_url":"https://github.com/pennersr","followers_url":"https://api.github.com/users/pennersr/followers","following_url":"https://api.github.com/users/pennersr/following{/other_user}","gists_url":"https://api.github.com/users/pennersr/gists{/gist_id}","starred_url":"https://api.github.com/users/pennersr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pennersr/subscriptions","organizations_url":"https://api.github.com/users/pennersr/orgs","repos_url":"https://api.github.com/users/pennersr/repos","events_url":"https://api.github.com/users/pennersr/events{/privacy}","received_events_url":"https://api.github.com/users/pennersr/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T14:18:01Z","updated_at":"2016-06-27T14:18:01Z","body":"I am closing this thread.  As indicated, the motivation can be found over at #125. \r\n\r\nNote that I agree that keeping the keys in the DB is not everybody's cup of tea. At some point in time, I would like to revisit this and allow for reading the `SocialApp` related config from the settings. Then, everybody is free to do as they please, environment based config is them simply a matter of `FOO_SETTING = os.environ.get('FOO_SETTING', '')`. But, we're not there yet... "}}
{"actor":{"display_login":"pennersr"}}