{"action":"created","issue":{"url":"https://api.github.com/repos/django-nose/django-nose/issues/15","labels_url":"https://api.github.com/repos/django-nose/django-nose/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/django-nose/django-nose/issues/15/comments","events_url":"https://api.github.com/repos/django-nose/django-nose/issues/15/events","html_url":"https://github.com/django-nose/django-nose/issues/15","id":210358,"number":15,"title":"Models located in tests.py are not created","user":{"login":"kmmbvnr","id":282529,"avatar_url":"https://avatars.githubusercontent.com/u/282529?v=3","gravatar_id":"","url":"https://api.github.com/users/kmmbvnr","html_url":"https://github.com/kmmbvnr","followers_url":"https://api.github.com/users/kmmbvnr/followers","following_url":"https://api.github.com/users/kmmbvnr/following{/other_user}","gists_url":"https://api.github.com/users/kmmbvnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kmmbvnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmmbvnr/subscriptions","organizations_url":"https://api.github.com/users/kmmbvnr/orgs","repos_url":"https://api.github.com/users/kmmbvnr/repos","events_url":"https://api.github.com/users/kmmbvnr/events{/privacy}","received_events_url":"https://api.github.com/users/kmmbvnr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2010-05-31T06:51:20Z","updated_at":"2015-08-05T01:35:40Z","closed_at":null,"body":"Models that exists only for testing purpose are not created when tests running by django_nose\r\n\r\nProblem exists because setup_databases called before any test module have been imported.\r\n\r\nThis could be fixed by moving setup_databases call into prepareTest in Plugin\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/django-nose/django-nose/issues/comments/127814284","html_url":"https://github.com/django-nose/django-nose/issues/15#issuecomment-127814284","issue_url":"https://api.github.com/repos/django-nose/django-nose/issues/15","id":127814284,"user":{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars.githubusercontent.com/u/286017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T01:35:40Z","updated_at":"2015-08-05T01:35:40Z","body":"Reopening since many people struggle with this.\r\n\r\nFor my own reusable apps, I add a sample app and project to the repo, and run django-nose against the sample project.  See the django-nose repo, and https://github.com/jwhitlock/drf-cached-instances.\r\n\r\nBecause there are work arounds, this feels like a feature request, not a bug."}}