{"action":"opened","issue":{"url":"https://api.github.com/repos/Miserlou/django-zappa/issues/49","repository_url":"https://api.github.com/repos/Miserlou/django-zappa","labels_url":"https://api.github.com/repos/Miserlou/django-zappa/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Miserlou/django-zappa/issues/49/comments","events_url":"https://api.github.com/repos/Miserlou/django-zappa/issues/49/events","html_url":"https://github.com/Miserlou/django-zappa/issues/49","id":142180720,"number":49,"title":"urls module not found","user":{"login":"scott2b","id":307713,"avatar_url":"https://avatars.githubusercontent.com/u/307713?v=3","gravatar_id":"","url":"https://api.github.com/users/scott2b","html_url":"https://github.com/scott2b","followers_url":"https://api.github.com/users/scott2b/followers","following_url":"https://api.github.com/users/scott2b/following{/other_user}","gists_url":"https://api.github.com/users/scott2b/gists{/gist_id}","starred_url":"https://api.github.com/users/scott2b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott2b/subscriptions","organizations_url":"https://api.github.com/users/scott2b/orgs","repos_url":"https://api.github.com/users/scott2b/repos","events_url":"https://api.github.com/users/scott2b/events{/privacy}","received_events_url":"https://api.github.com/users/scott2b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-20T16:52:30Z","updated_at":"2016-03-20T16:52:30Z","closed_at":null,"body":"It is unclear to me how the PYTHONPATH and general environment are setup. I can successfully deploy an application to Lambda, however the deployed Django is unable to find the urls file.\r\n\r\nI have, for example, project myproject, with core application myproject (the standard Django setup) which contains urls.py. Thus, the settings files have:\r\n\r\nROOT_URLCONF = 'myproject.urls'\r\n\r\nBut (in debug mode) I am getting: No module named myproject.urls\r\n\r\nThe settings I am using work find when running locally. My suspicion is that the PYTHONPATH is not being set so that myproject is available on the path, but this is just a guess really. I noted that the test settings file has BASE_DIR set to an empty string, which strikes me as unusual, but I have no idea if that is related to this. Setting BASE_DIR empty in my own project breaks the update process for me with a botocore function not found error. "}}