{"action":"opened","issue":{"url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/42","labels_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/42/comments","events_url":"https://api.github.com/repos/djangogirlsjobs/djangogirls/issues/42/events","html_url":"https://github.com/djangogirlsjobs/djangogirls/issues/42","id":93473369,"number":42,"title":"settings imports","user":{"login":"rebkwok","id":6770950,"avatar_url":"https://avatars.githubusercontent.com/u/6770950?v=3","gravatar_id":"","url":"https://api.github.com/users/rebkwok","html_url":"https://github.com/rebkwok","followers_url":"https://api.github.com/users/rebkwok/followers","following_url":"https://api.github.com/users/rebkwok/following{/other_user}","gists_url":"https://api.github.com/users/rebkwok/gists{/gist_id}","starred_url":"https://api.github.com/users/rebkwok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebkwok/subscriptions","organizations_url":"https://api.github.com/users/rebkwok/orgs","repos_url":"https://api.github.com/users/rebkwok/repos","events_url":"https://api.github.com/users/rebkwok/events{/privacy}","received_events_url":"https://api.github.com/users/rebkwok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T08:39:59Z","updated_at":"2015-07-07T08:39:59Z","closed_at":null,"body":"https://github.com/djangogirlsjobs/djangogirls/blob/master/jobs/admin.py#L12\r\n\r\nSettings mport statements need to be changed to use django.conf\r\n```\r\nfrom djangogirls.settings import JOBS_EMAIL_USER, JOBS_EMAIL_PASSWORD\r\nfrom djangogirls.settings import MEETUPS_EMAIL_PASSWORD, MEETUPS_EMAIL_USER\r\n```\r\n\r\nchange to\r\n```\r\nfrom django.conf import settings\r\n```\r\n\r\nIf you don't want to change the code to refer to e.g. settings.MEETUPS_EMAIL_PASSWORD, just add under the import statements\r\n```\r\nMEETUPS_EMAIL_PASSWORD = settings.MEETUPS_EMAIL_PASSWORD\r\n```\r\netc\r\n\r\nThis way the correct settings will be imported irrespective of which particular settings file is being used."}}