Adds management command for populating suggestions
This commit is contained in:
parent
5174260351
commit
98e537280e
4 changed files with 65 additions and 8 deletions
|
@ -1,12 +1,6 @@
|
|||
""" Re-create user streams """
|
||||
from django.core.management.base import BaseCommand
|
||||
import redis
|
||||
|
||||
from bookwyrm import activitystreams, models, settings
|
||||
|
||||
r = redis.Redis(
|
||||
host=settings.REDIS_ACTIVITY_HOST, port=settings.REDIS_ACTIVITY_PORT, db=0
|
||||
)
|
||||
from bookwyrm import activitystreams, models
|
||||
|
||||
|
||||
def populate_streams():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue