Python formatting
This commit is contained in:
parent
bebb2c167e
commit
e6f7828361
3 changed files with 8 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue