Merge pull request #1722 from cincodenada/no-more-fedireads-main

Remove last traces of fedireads, but in main
This commit is contained in:
Mouse Reeve 2021-12-29 09:32:43 -08:00 committed by GitHub
commit 7eb8d027c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ from bookwyrm import activitystreams, models
def populate_streams(stream=None): def populate_streams(stream=None):
"""build all the streams for all the users""" """build all the streams for all the users"""
streams = [stream] if stream else activitystreams.streams.keys() streams = [stream] if stream else activitystreams.streams.keys()
print("Populations streams", streams) print("Populating streams", streams)
users = models.User.objects.filter( users = models.User.objects.filter(
local=True, local=True,
is_active=True, is_active=True,

View file

@ -125,9 +125,9 @@ STREAMS = [
DATABASES = { DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql_psycopg2", "ENGINE": "django.db.backends.postgresql_psycopg2",
"NAME": env("POSTGRES_DB", "fedireads"), "NAME": env("POSTGRES_DB", "bookwyrm"),
"USER": env("POSTGRES_USER", "fedireads"), "USER": env("POSTGRES_USER", "bookwyrm"),
"PASSWORD": env("POSTGRES_PASSWORD", "fedireads"), "PASSWORD": env("POSTGRES_PASSWORD", "bookwyrm"),
"HOST": env("POSTGRES_HOST", ""), "HOST": env("POSTGRES_HOST", ""),
"PORT": env("PGPORT", 5432), "PORT": env("PGPORT", 5432),
}, },