File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
code/my_project/my_project Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 84
84
85
85
DATABASES = {
86
86
'default' : {
87
- 'ENGINE' : 'mysql.connector.django ' , # Use MySQL as the database engine
87
+ 'ENGINE' : 'django.db.backends.mysql ' , # Use MySQL as the database engine
88
88
'NAME' : 'movie_data' , # The database name
89
89
'USER' : 'selina' , # The database user
90
90
'PASSWORD' : 'snowBall' , # The password for the database user
145
145
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
146
146
147
147
# For production, collect static files to this directory
148
- # STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # Directory where collectstatic will gather static files
148
+ # STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # Directory where collectstatic will gather static files
You can’t perform that action at this time.
0 commit comments