Don't initialize Review Board when creating database models.
Review Request #10069 — Created July 5, 2018 and submitted
In a development environment, running
manage.py syncdbwould call
initialize()before creating database models. If any code in an
initialization signal handler tried to access the database, and the
database was empty, syncdb would crash.
We no longer call
initialize()for this command. We fortunately don't
call it when doing
rb-site install, meaning both that there's
precedent for avoiding the call and that this problem doesn't impact
production at all.
syncdbwith and without a functioning database.
Tested all other affected commands:
runserver, and a few
other management commands.