Call django.setup() as part of reviewboard.initialize()
Review Request #8711 — Created Feb. 3, 2017 and submitted — Latest diff uploaded
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.