Skip to content

Commit

Permalink
general updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stuchalk committed Jul 1, 2024
1 parent 16c845c commit 5d04be1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
44 changes: 22 additions & 22 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 2 additions & 0 deletions sciflow/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import pymysql
pymysql.install_as_MySQLdb()
3 changes: 2 additions & 1 deletion sciflow/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,6 +69,7 @@
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'corsheaders.middleware.CorsMiddleware',
'allauth.account.middleware.AccountMiddleware',
]

REST_FRAMEWORK = {
Expand Down

0 comments on commit 5d04be1

Please sign in to comment.