From 9d1db3f67c59eaf7156d3b8883fa2385a207992b Mon Sep 17 00:00:00 2001 From: Joel Bradshaw Date: Fri, 17 Dec 2021 06:11:19 +0000 Subject: [PATCH 1/2] Remove last traces of fedireads --- bookwyrm/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/settings.py b/bookwyrm/settings.py index e95ff96e..b154fd69 100644 --- a/bookwyrm/settings.py +++ b/bookwyrm/settings.py @@ -125,9 +125,9 @@ STREAMS = [ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql_psycopg2", - "NAME": env("POSTGRES_DB", "fedireads"), - "USER": env("POSTGRES_USER", "fedireads"), - "PASSWORD": env("POSTGRES_PASSWORD", "fedireads"), + "NAME": env("POSTGRES_DB", "bookwyrm"), + "USER": env("POSTGRES_USER", "bookwyrm"), + "PASSWORD": env("POSTGRES_PASSWORD", "bookwyrm"), "HOST": env("POSTGRES_HOST", ""), "PORT": env("PGPORT", 5432), }, From 66df16eb78a1deda2aee44869e6ecaee063c49c0 Mon Sep 17 00:00:00 2001 From: Joel Bradshaw Date: Fri, 17 Dec 2021 06:14:52 +0000 Subject: [PATCH 2/2] Fix typo while we're here --- bookwyrm/management/commands/populate_streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/management/commands/populate_streams.py b/bookwyrm/management/commands/populate_streams.py index a04d7f5a..0b09ea6c 100644 --- a/bookwyrm/management/commands/populate_streams.py +++ b/bookwyrm/management/commands/populate_streams.py @@ -6,7 +6,7 @@ from bookwyrm import activitystreams, models def populate_streams(stream=None): """build all the streams for all the users""" streams = [stream] if stream else activitystreams.streams.keys() - print("Populations streams", streams) + print("Populating streams", streams) users = models.User.objects.filter( local=True, is_active=True,