Skip to content

Commit

Permalink
fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoor committed Feb 25, 2024
1 parent 0c5d0fe commit 4fcaaef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dshop/Dshop/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = "Dshop.urls"
ROOT_URLCONF = "Dshop.Dshop.urls"

TEMPLATES = [
{
Expand Down Expand Up @@ -140,7 +140,7 @@
if IS_AWS_LAMBDA:
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg",
"ENGINE": "django.db.backends.postgresql",
"NAME": "zappa_dev",
"USER": "postgres",
"PASSWORD": "this_is_not_a_good_password",
Expand Down
1 change: 0 additions & 1 deletion zappa_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"project_name": "dshop",
"log_level": "ERROR",
"s3_bucket": "zappa-vjjecpt38",
"slim_handler": "true",
"profile_name": "pymasters-zappa",
"environment_variables": {
"IS_AWS_LAMBDA": "true"
Expand Down
2 changes: 0 additions & 2 deletions zappa_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
PROJECT_NAME='dshop'
SETTINGS_FILE=None
DJANGO_SETTINGS='Dshop.Dshop.settings'
ARCHIVE_PATH='s3://zappa-vjjecpt38/dev_dshop_current_project.tar.gz'
SLIM_HANDLER=True
AWS_EVENT_MAPPING={}
AWS_BOT_EVENT_MAPPING={}
COGNITO_TRIGGER_MAPPING={}
Expand Down

0 comments on commit 4fcaaef

Please sign in to comment.