From 894234f167147c62780097cd4167e42ddc1c6679 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Thu, 28 May 2015 20:57:48 +0100 Subject: [PATCH] Remove MySQL import This was legacy and isn't needed any more. --- PyRIGS/settings.py | 5 ----- requirements.txt | 1 - 2 files changed, 6 deletions(-) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index 1af028c5..a043e091 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -70,11 +70,6 @@ WSGI_APPLICATION = 'PyRIGS.wsgi.application' # Database # https://docs.djangoproject.com/en/1.7/ref/settings/#databases -try: - import pymysql - pymysql.install_as_MySQLdb() -except ImportError: - pass DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', diff --git a/requirements.txt b/requirements.txt index 01b94fb5..5cd47409 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,6 @@ lxml==3.4.4 Pillow==2.8.1 psycopg2==2.6 Pygments==2.0.2 -PyMySQL==0.6.6 PyPDF2==1.24 python-dateutil==2.4.2 pytz==2015.4