From d72ea3efe62ff779630466ba975f9a64fc7b97a6 Mon Sep 17 00:00:00 2001 From: Federico Martinez Date: Thu, 8 Jun 2017 10:23:28 -0300 Subject: [PATCH] Added support for for mysql connector now you can use something like mysql-connector://USR:PASS@HOST/MY_DB --- environ/environ.py | 1 + 1 file changed, 1 insertion(+) diff --git a/environ/environ.py b/environ/environ.py index 24368b36..0a73ca39 100644 --- a/environ/environ.py +++ b/environ/environ.py @@ -76,6 +76,7 @@ class Env(object): 'postgis': 'django.contrib.gis.db.backends.postgis', 'mysql': 'django.db.backends.mysql', 'mysql2': 'django.db.backends.mysql', + 'mysql-connector': 'mysql.connector.django', 'mysqlgis': 'django.contrib.gis.db.backends.mysql', 'oracle': 'django.db.backends.oracle', 'redshift': 'django_redshift_backend',