Mohammed Naser | 2fd3961 | 2024-04-14 13:37:45 -0400 | [diff] [blame] | 1 | diff --git b/horizon/templates/bin/_django.wsgi.tpl a/charts/horizon/templates/bin/_django.wsgi.tpl |
| 2 | index 4626f21a..cbf87fbf 100644 |
| 3 | --- b/horizon/templates/bin/_django.wsgi.tpl |
| 4 | +++ a/horizon/templates/bin/_django.wsgi.tpl |
| 5 | @@ -22,8 +22,6 @@ import os |
| 6 | import sys |
| 7 | |
| 8 | import pymysql |
| 9 | - |
| 10 | -pymysql.version_info = (1, 4, 0, "final", 0) |
| 11 | pymysql.install_as_MySQLdb() |
| 12 | |
| 13 | from django.core.wsgi import get_wsgi_application |
| 14 | diff --git b/horizon/templates/bin/_manage.py.tpl a/charts/horizon/templates/bin/_manage.py.tpl |
| 15 | index 105a32c8..1b21cfc9 100644 |
| 16 | --- b/horizon/templates/bin/_manage.py.tpl |
| 17 | +++ a/horizon/templates/bin/_manage.py.tpl |
| 18 | @@ -23,7 +23,6 @@ import os |
| 19 | import sys |
| 20 | |
| 21 | import pymysql |
| 22 | -pymysql.version_info = (1, 4, 0, "final", 0) |
| 23 | pymysql.install_as_MySQLdb() |
| 24 | |
| 25 | from django.core.management import execute_from_command_line |