Call django.setup() as part of reviewboard.initialize()
Review Request #8711 — Created Feb. 3, 2017 and submitted
In Django 1.7+, there's a new
setup()
function which initializes logging and
apps. Attempting to do too much before this is called will fail with errors.
This change adds a call to that during ourinitialize()
method.
- Ran unit tests on Django 1.6 and 1.8.
- Ran the devserver on 1.8.
- Commit:
-
8c3cb9fb139118d5cef6ab1c7f4d0bf4953aea8a77d4a42ffdec03333f36170ad65a03f65a2ae3d2
- Diff:
-
Revision 2 (+8)
- Change Summary:
-
Always run setup, even when
is_running_test
isTrue
. - Commit:
-
77d4a42ffdec03333f36170ad65a03f65a2ae3d2dc7e57e0e3d24303ab6db0c4117cbc3dcf1e1d86
- Diff:
-
Revision 3 (+9)