Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix weather #195

Merged
merged 2 commits into from
Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

services:
postgres:
image: timescale/timescaledb:latest-pg14
image: timescale/timescaledb-ha:pg14-latest
env:
POSTGRES_PASSWORD: password
POSTGRES_DB: test_gardenserver_django
Expand Down
1 change: 1 addition & 0 deletions project/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"plants",
"api",
"accounts",
"weather",
]

INSTALLED_APPS = DEFAULT_APPS + THIRD_PARTY_APPS + PROJECT_APPS
Expand Down
2 changes: 1 addition & 1 deletion project/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

DATABASES = {
"default": {
"ENGINE": "timescale.db.backends.postgresql",
"ENGINE": "timescale.db.backends.postgis",
"NAME": os.environ.get("DJANGO_DATABASE_NAME", "gardenserver_django"),
"USER": "",
"PASSWORD": "",
Expand Down
2 changes: 1 addition & 1 deletion project/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

DATABASES = {
"default": {
"ENGINE": "timescale.db.backends.postgresql",
"ENGINE": "timescale.db.backends.postgis",
"NAME": os.environ.get("DJANGO_DATABASE_NAME", "gardenserver_django"),
"USER": os.environ.get("DJANGO_DATABASE_USER"),
"PASSWORD": os.environ.get("DJANGO_DATABASE_PASSWORD"),
Expand Down
2 changes: 1 addition & 1 deletion project/settings/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

DATABASES = {
"default": {
"ENGINE": "timescale.db.backends.postgresql",
"ENGINE": "timescale.db.backends.postgis",
"NAME": os.environ.get("DJANGO_DATABASE_NAME", "test_gardenserver_django"),
"USER": "postgres",
"PASSWORD": "password",
Expand Down