{"action":"created","issue":{"url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1658","labels_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1658/labels{/name}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1658/comments","events_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1658/events","html_url":"https://github.com/django-oscar/django-oscar/issues/1658","id":56816790,"number":1658,"title":"Sandbox build broken because django-widget-tweaks doesn't get installed","user":{"login":"mbertheau","id":133575,"avatar_url":"https://avatars.githubusercontent.com/u/133575?v=3","gravatar_id":"","url":"https://api.github.com/users/mbertheau","html_url":"https://github.com/mbertheau","followers_url":"https://api.github.com/users/mbertheau/followers","following_url":"https://api.github.com/users/mbertheau/following{/other_user}","gists_url":"https://api.github.com/users/mbertheau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbertheau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbertheau/subscriptions","organizations_url":"https://api.github.com/users/mbertheau/orgs","repos_url":"https://api.github.com/users/mbertheau/repos","events_url":"https://api.github.com/users/mbertheau/events{/privacy}","received_events_url":"https://api.github.com/users/mbertheau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/django-oscar/django-oscar/labels/%E2%98%81%20Bug","name":"☁ Bug","color":"F8C1C1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-06T14:20:12Z","updated_at":"2015-02-26T14:00:25Z","closed_at":null,"body":"To reproduce:\r\n```bash\r\n$ mkvirtualenv oscar\r\n(oscar) $ make sandbox\r\n...\r\nsites/sandbox/manage.py syncdb --noinput\r\nTraceback (most recent call last):\r\n  File \"sites/sandbox/manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/home/markus/.virtualenvs/oscar/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 385, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/home/markus/.virtualenvs/oscar/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 354, in execute\r\n    django.setup()\r\n  File \"/home/markus/.virtualenvs/oscar/local/lib/python2.7/site-packages/django/__init__.py\", line 21, in setup\r\n    apps.populate(settings.INSTALLED_APPS)\r\n  File \"/home/markus/.virtualenvs/oscar/local/lib/python2.7/site-packages/django/apps/registry.py\", line 85, in populate\r\n    app_config = AppConfig.create(entry)\r\n  File \"/home/markus/.virtualenvs/oscar/local/lib/python2.7/site-packages/django/apps/config.py\", line 87, in create\r\n    module = import_module(entry)\r\n  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\nImportError: No module named widget_tweaks\r\nmake: *** [build_sandbox] Error 1\r\n```\r\n\r\n`django-widget-tweaks` is listed in https://github.com/django-oscar/django-oscar/blob/cd5bb8f741ec68a7f29b3c7379defd56d4774068/setup.py#L70 so it's not immediately obvious to me why make install doesn't install it."},"comment":{"url":"https://api.github.com/repos/django-oscar/django-oscar/issues/comments/76182052","html_url":"https://github.com/django-oscar/django-oscar/issues/1658#issuecomment-76182052","issue_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1658","id":76182052,"user":{"login":"rayrrr","id":7869818,"avatar_url":"https://avatars.githubusercontent.com/u/7869818?v=3","gravatar_id":"","url":"https://api.github.com/users/rayrrr","html_url":"https://github.com/rayrrr","followers_url":"https://api.github.com/users/rayrrr/followers","following_url":"https://api.github.com/users/rayrrr/following{/other_user}","gists_url":"https://api.github.com/users/rayrrr/gists{/gist_id}","starred_url":"https://api.github.com/users/rayrrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayrrr/subscriptions","organizations_url":"https://api.github.com/users/rayrrr/orgs","repos_url":"https://api.github.com/users/rayrrr/repos","events_url":"https://api.github.com/users/rayrrr/events{/privacy}","received_events_url":"https://api.github.com/users/rayrrr/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T14:00:25Z","updated_at":"2015-02-26T14:00:25Z","body":"@maikhoepfel I think you're confused–otherwise I'm missing something. First of all, we're talking about the `settings.py` file, right? \"setup.py\" is not a Django convention I know of.\r\n\r\nIn Django, the `INSTALLED_APPS` entry in `settings.py` is where you specify which Python modules you want your app to use, but it expects those modules to already be available in your virtualenv.\r\n\r\n`requirements.txt` is what you use to make the modules available in your virtualenv! You need to specify `django-tweaks"}}