used --preload parameter when starting
horizon dashboard. This leads to
faster startup and lower memory
consumption.
It also fixes missing env variable
DJANGO_SETTINGS_MODULE in py3.
Story: 2008454
Task: 42856
Signed-off-by: Daniel Safta <daniel.safta@windriver.com>
Change-Id: I3c69311602eaaf9a78d101b5b0198e9582497100
(cherry picked from commit 8ef5cd2377a7f1872495e9771ced9bd4313023cd)