Skip to content

Commit

Permalink
Add FAQ entry about Django 1.11+ and parallel test runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Dec 22, 2017
1 parent 70fc828 commit fbf44b9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/faq.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Frequently asked questions
==========================

I'm using Django 1.11+ and ``monkeytype run manage.py test`` generates no traces.
---------------------------------------------------------------------------------

Django 1.11 enabled parallel test runs by default. This means your tests run in
separate subprocesses; MonkeyType is tracing only the main supervisor process,
which runs only Django code (that is excluded from tracing by the default code
filter). To get traces, use `--parallel 1` when running your tests under
MonkeyType tracing.

I'm using Django, and I get an AppRegistryNotReady exception when I run monkeytype.
-----------------------------------------------------------------------------------

Expand Down

0 comments on commit fbf44b9

Please sign in to comment.