Add .gitignore and launch configuration; remove compiled Python files and unused database settings #1

Merged
warrenchen merged 1 commits from develop into main 2025-10-10 07:33:49 +00:00
7 changed files with 19 additions and 8 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.env
__pycache__
*.pyc

16
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Wagtail (Local Dev)",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/innovedus_cms/manage.py",
"args": ["runserver", "0.0.0.0:8000"],
"django": true,
"justMyCode": true,
"envFile": "${workspaceFolder}/.env",
"console": "integratedTerminal"
}
]
}

View File

@ -91,14 +91,6 @@ DATABASES = {
'default': dj_database_url.config() 'default': dj_database_url.config()
} }
# DATABASES = {
# "default": {
# "ENGINE": "django.db.backends.sqlite3",
# "NAME": os.path.join(BASE_DIR, "db.sqlite3"),
# }
# }
# Password validation # Password validation
# https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators # https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators