title: Django test coverage vs code coverage
body: <p>I've successfully installed and configured <a href="https://github.com/django-nose/django-nose"><code>django-nose</code></a> with <a href="https://pypi.python.org/pypi/coverage/3.7.1"><code>coverage</code></a></p>
  
  <p>Problem is that if I just run coverage for <code>./manage.py shell</code> and exit out of that shell - it shows me 37% code coverage. I fully understand that executed code doesn't mean <em>tested</em> code. My only question is -- what now?</p>
  
  <p>What I'm envisioning is being able to import all the python modules and "settle down" before executing any tests, and directly communicating with <code>coverage</code> saying "Ok, start counting reached code here."</p>
  
  <p>Ideally this would be done by <code>nose</code> essentially resetting the "touched" lines of code right before executing each test suite.</p>
  
  <p>I don't know where to start looking/developing. I've searched online and haven't found anything fruitful. Any help/guidelines would be greatly appreciated.</p>
  
  <p>P.S.</p>
  
  <p>I tried executing something like this:</p>
  
  <pre><code>DJANGO_SETTINGS_MODULE=app.settings_dev coverage run app/tests/gme_test.py
  </code></pre>
  
  <p>And it worked (showed 1% coverage) but I can't figure out how to do this for the entire app</p>
  
  <p><strong>Edit</strong>: Here's my coverage config:</p>
  
  <pre><code>[run]
  source = .
  branch = False
  timid = True
  [report]
  show_missing = False
  include = *.py
  omit =
      tests.py
      *_test.py
      *_tests.py
      */site-packages/*
      */migrations/*
  [html]
  title = Code Coverage
  directory = local_coverage_report
  </code></pre>