title: How to launch tests for django reusable app?
body: <p>Can I launch tests for my reusable Django app without incorporating this app into a project?</p>
  
  <p>My app uses some models, so it is necessary to provide <code>(TEST_)DATABASE_*</code> settings. Where should I store them and how should I launch tests?</p>
  
  <p>For a Django project, I can run tests with <code>manage.py test</code>; when I use <code>django-admin.py test</code> with my standalone app, I get: </p>
  
  <blockquote>
    <p>Error: Settings cannot be imported,
    because environment variable
    DJANGO_SETTINGS_MODULE is undefined.</p>
  </blockquote>
  
  <p>What are the best practises here?</p>