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.8.1.tar.gz
(9.7 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.8.1.tar.gz.
File metadata
- Download URL: plain_sessions-0.8.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a703e5d29d470676441cb68fee4e57e48c9ac4cf8da509cbc2c413b50a84564b
|
|
| MD5 |
affdaa5d81f4c6887e43c1782426e6f3
|
|
| BLAKE2b-256 |
9d00c6aefa14c230e8c7b34770e7f815e5016455d4bde170d2ea9b8148c2291b
|
File details
Details for the file plain_sessions-0.8.1-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.8.1-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11fb0c124a1daecb692a7544f950194abe2ea07cad778f889ff85311f2c6faa2
|
|
| MD5 |
be5a02408449ca4173a4601e7811eb15
|
|
| BLAKE2b-256 |
766602e962a1bdbbdd779971a4e2d8ef9157089b13203b5e434d78d8e1c695fe
|