Call django.setup() as part of reviewboard.initialize()

Review Request #8711 — Created Feb. 3, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
dc7e57e...

Reviewers

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 our initialize() method.

  • Ran unit tests on Django 1.6 and 1.8.
  • Ran the devserver on 1.8.