Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DanShinde committed May 9, 2023
1 parent aa3758d commit 4e66cbd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/website/myapp.log
*.pyc
/venv
**/__pycache__/
**/__pycache__/
/exe
26 changes: 13 additions & 13 deletions website/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,24 @@
# Database
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
# }

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME' : 'TextLists$default',
'USER' : 'TextLists',
'PASSWORD' : 'dbpassword',
'HOST' : 'TextLists.mysql.pythonanywhere-services.com',
'PORT' : '3306',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME' : 'TextLists$default',
# 'USER' : 'TextLists',
# 'PASSWORD' : 'dbpassword',
# 'HOST' : 'TextLists.mysql.pythonanywhere-services.com',
# 'PORT' : '3306',
# }
# }

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
Expand Down

0 comments on commit 4e66cbd

Please sign in to comment.