Skip to content

Commit

Permalink
updated db settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar Thouta committed May 2, 2022
1 parent 7134919 commit a12a770
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
Binary file modified db.sqlite3
Binary file not shown.
15 changes: 13 additions & 2 deletions myproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,21 @@
# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases

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

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'channelsdb',
'USER': 'omkar',
'PASSWORD': '2311',
'HOST': 'localhost',
'PORT': '',
}
}

Expand Down
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ pytz==2021.1
service-identity==21.1.0
six==1.16.0
sqlparse==0.4.1
Twisted==21.2.0
twisted-iocpsupport==1.0.1
txaio==21.2.1
typing-extensions==3.10.0.0
zope.interface==5.4.0

0 comments on commit a12a770

Please sign in to comment.