diff --git a/Pipfile b/Pipfile index d2d05c5..36e2610 100644 --- a/Pipfile +++ b/Pipfile @@ -4,29 +4,29 @@ verify_ssl = true name = "pypi" [packages] -django = ">=4.1" -pyld = ">=2.0.3" -chembl-webresource-client = ">=0.10" -django-admin-logs = ">=1.0" -django-allauth = ">=0.51" -django-debug-toolbar = ">=3.8" -django-cors-headers = ">=3.13" -django-crispy-forms = ">=1.14" -djangorestframework = ">=3.13" -mysqlclient = ">=2.1" -pandas = ">=1.5.0" -scipy = ">=1.9" -pygithub = ">=1.55" -urllib3 = ">=1.26" -scyjava = ">=1.5.1" -qwikidata = ">=0.4" -pytest = ">=7.1" -requests = ">=2.28.1" -rdkit-pypi = "*" -paramiko = "*" -crossrefapi = "*" +chembl-webresource-client = ">=0.10.0" +crossrefapi = ">=1.6.0" +django = ">=5.0.0" +django-admin-logs = ">=1.2.0" +django-allauth = ">=0.63.0" +django-cors-headers = ">=4.4.0" +django-crispy-forms = ">=2.2.0" +django-debug-toolbar = ">=4.4.0" +djangorestframework = ">=3.15.0" +pandas = ">=2.2.0" +paramiko = ">=3.4.0" +pygithub = ">=2.3.0" +pyld = ">=2.0.0" +pymysql = "=>1.1.1" +pytest = ">=8.2.0" +qwikidata = ">=0.4.0" +requests = ">=2.32.0" +rdkit-pypi = ">=2024.3.1" +scipy = ">=1.14.0" +scyjava = ">=1.10.0" +urllib3 = ">=1.26.0" [dev-packages] [requires] -python_version = "3.10" +python_version = "3.12" diff --git a/sciflow/__init__.py b/sciflow/__init__.py index e69de29..c45523b 100644 --- a/sciflow/__init__.py +++ b/sciflow/__init__.py @@ -0,0 +1,2 @@ +import pymysql +pymysql.install_as_MySQLdb() \ No newline at end of file diff --git a/sciflow/settings.py b/sciflow/settings.py index 4d9991d..44b6dff 100644 --- a/sciflow/settings.py +++ b/sciflow/settings.py @@ -26,7 +26,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['sds.coas.unf.edu', '127.0.0.1'] +ALLOWED_HOSTS = ['sds.coas.unf.edu', '127.0.0.1', 'localhost'] # cors setup CORS_ORIGIN_ALLOW_ALL = False @@ -69,6 +69,7 @@ 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'corsheaders.middleware.CorsMiddleware', + 'allauth.account.middleware.AccountMiddleware', ] REST_FRAMEWORK = {