Move django.setup() as the first step in the run() call in order to
setup all the applications before monkey-patching, which needs to import models.
Showing
Please
register
or
sign in
to comment
setup all the applications before monkey-patching, which needs to import models.