We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e43b80 commit 7b964ebCopy full SHA for 7b964eb
pyconkr/settings-dev.py
@@ -3,6 +3,9 @@
3
from pyconkr.settings import *
4
from pyconkr.storage import *
5
6
+import pymysql
7
+pymysql.install_as_MySQLdb()
8
+
9
DEBUG = True
10
11
ALLOWED_HOSTS += [
@@ -12,7 +15,8 @@
12
15
# RDS
13
16
DATABASES = {
14
17
"default": {
- "ENGINE": "mysql.connector.django",
18
+ # "ENGINE": "mysql.connector.django",
19
+ "ENGINE": "django.db.backends.mysql",
20
"NAME": os.getenv("AWS_RDS_DATABASE"),
21
"USER": os.getenv("AWS_RDS_USER_ID"),
22
"PASSWORD": os.getenv("AWS_RDS_PW"),
requirements.txt
@@ -23,4 +23,5 @@ shortuuid==1.0.11
23
jsons==1.6.3
24
django-cors-headers==3.14.0
25
requests==2.28.2
26
-PyFunctional==1.4.3
+PyFunctional==1.4.3
27
+pymysql==1.0.3
0 commit comments