Commit 2fee491e authored by Zac Wood's avatar Zac Wood

switch mysql connectors

parent 53679716
Pipeline #4600 failed with stages
in 53 seconds
......@@ -195,7 +195,6 @@ class URLForm(ModelForm):
<h4>Set when you would like your Go address to expire:</h4>
<br />"""),
'expires',
Field('expires_custom', template="crispy/customDateField.html"),
style="background: rgb(#F6F6F6);"),
active=True,
template='crispy/accordian-group.html'),
......
......@@ -80,7 +80,7 @@ TEMPLATES = [
# See: https://docs.djangoproject.com/en/dev/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'mysql.connector.django',
'ENGINE': 'django.db.backends.mysql',
'NAME': os.getenv('GO_DB_NAME', ''),
'USER': os.getenv('GO_DB_USER', ''),
'PASSWORD': os.getenv('GO_DB_PASSWORD', ''),
......
......@@ -14,8 +14,8 @@ DEBUG = True
CAS_SERVER_URL = "https://login.gmu.edu/"
# dummy cache for development-- doesn't actually cache things
# CACHES = {
# 'default': {
# 'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
# }
# }
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment