diff options
author | pacien | 2021-08-03 09:51:01 +0200 |
---|---|---|
committer | pacien | 2021-08-03 09:51:01 +0200 |
commit | d3ce3ba78c4739d99924f170631dfe7b080a353e (patch) | |
tree | 2d87aa0f8a38ae62a719c6c0042c40387c2646d0 | |
parent | 53c2f6154ae9d739780a90ce177320cb3b63dcbd (diff) | |
download | uge_l2_rdbms_python_proto-d3ce3ba78c4739d99924f170631dfe7b080a353e.tar.gz |
app/sessions: fix terminology
-rw-r--r-- | app/app_sessions.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/app_sessions.py b/app/app_sessions.py index 7a931d5..9f46404 100644 --- a/app/app_sessions.py +++ b/app/app_sessions.py | |||
@@ -17,10 +17,10 @@ SessionManager = partial(SessionMiddleware, secret_key=cookie_key) | |||
17 | 17 | ||
18 | class FlashMessageQueue: | 18 | class FlashMessageQueue: |
19 | """ | 19 | """ |
20 | Session decorator for managing session flash messages to be displayed to | 20 | Session proxy for managing session flash messages to be displayed to the |
21 | the user from one page to another. This suits confirmation and error | 21 | user from one page to another. This suits confirmation and error messages. |
22 | messages. Messages are stored in the session cookie, which is limited in | 22 | Messages are stored in the session cookie, which is limited in size to |
23 | size to about 4kb. | 23 | about 4kb. |
24 | """ | 24 | """ |
25 | 25 | ||
26 | def __init__(self, request: Request): | 26 | def __init__(self, request: Request): |
@@ -44,7 +44,7 @@ class FlashMessageQueue: | |||
44 | 44 | ||
45 | class UserSession: | 45 | class UserSession: |
46 | """ | 46 | """ |
47 | Session decorator for managing user login sessions. | 47 | Session proxy for managing user login sessions. |
48 | """ | 48 | """ |
49 | 49 | ||
50 | def __init__(self, request: Request): | 50 | def __init__(self, request: Request): |