Python formatting
This commit is contained in:
@ -11,6 +11,7 @@ r = redis.Redis(
|
||||
db=0,
|
||||
)
|
||||
|
||||
|
||||
class RedisStore(ABC):
|
||||
"""sets of ranked, related objects, like statuses for a user's feed"""
|
||||
|
||||
|
@ -127,7 +127,7 @@ CACHES = {
|
||||
"LOCATION": f"redis://:{REDIS_ACTIVITY_PASSWORD}@{REDIS_ACTIVITY_HOST}:{REDIS_ACTIVITY_PORT}/0",
|
||||
"OPTIONS": {
|
||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
|
||||
|
Reference in New Issue
Block a user