Merge "To avoid wrong version check for mysqlclient"
This commit is contained in:
commit
dda7276191
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Horizon
|
||||
name: horizon
|
||||
version: 0.1.1
|
||||
version: 0.1.2
|
||||
home: https://docs.openstack.org/horizon/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
|
||||
sources:
|
||||
|
@ -23,6 +23,7 @@ import sys
|
||||
|
||||
import pymysql
|
||||
|
||||
pymysql.version_info = (1, 3, 13, "final", 0)
|
||||
pymysql.install_as_MySQLdb()
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
@ -78,7 +78,7 @@ function start () {
|
||||
/tmp/manage.py collectstatic --noinput
|
||||
/tmp/manage.py compress --force
|
||||
rm -rf /tmp/_tmp_.secret_key_store.lock /tmp/.secret_key_store
|
||||
|
||||
chmod +x ${SITE_PACKAGES_ROOT}/django/core/wsgi.py
|
||||
exec {{ .Values.conf.software.apache2.binary }} {{ .Values.conf.software.apache2.start_parameters }}
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ import os
|
||||
import sys
|
||||
|
||||
import pymysql
|
||||
|
||||
pymysql.version_info = (1, 3, 13, "final", 0)
|
||||
pymysql.install_as_MySQLdb()
|
||||
|
||||
from django.core.management import execute_from_command_line
|
||||
|
Loading…
Reference in New Issue
Block a user