Session management for Plain.
Project description
Sessions - db backed
Manage sessions and save them in the database.
- associate with users?
- devices?
Usage
To use sessions in your views, access the request.session object:
# Example view using sessions
class MyView(View):
def get(self):
# Store a value in the session
self.request.session['key'] = 'value'
# Retrieve a value from the session
value = self.request.session.get('key')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plain_sessions-0.19.1.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plain_sessions-0.19.1.tar.gz.
File metadata
- Download URL: plain_sessions-0.19.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc343236293caaa7aabef2f4eeb9ab78f60cf901f9f455b171078807e77e8b3c
|
|
| MD5 |
25382bd947822b16c928fd4516b17610
|
|
| BLAKE2b-256 |
7cad1a29faf10243f43befbbe16e05e78b9451d8d95a4004c9eef40410e542ac
|
File details
Details for the file plain_sessions-0.19.1-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.19.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
294249870454603fa7c6a63a0a854232d8595c8248eafecac2d212f72f464b36
|
|
| MD5 |
b8e254842fecff324ac1ddf2808d8a9f
|
|
| BLAKE2b-256 |
74b796957e6365a76e8f40babccd86d6644a4f86f1eff404e29a72ad96b98a2a
|