Python formatting
This commit is contained in:
@ -8,10 +8,12 @@ r = redis.Redis(
|
||||
host=settings.REDIS_ACTIVITY_HOST, port=settings.REDIS_ACTIVITY_PORT, db=0
|
||||
)
|
||||
|
||||
|
||||
def erase_feeds():
|
||||
""" throw the whole redis away """
|
||||
r.flushall()
|
||||
|
||||
|
||||
def create_feeds():
|
||||
""" build all the fields for all the users """
|
||||
users = models.User.objects.filter(
|
||||
|
Reference in New Issue
Block a user