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.21.0.tar.gz
(8.3 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.21.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.21.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
076db8ea96033da273c6c0fd88700760207e1b7b2dcb4d756151528e516c015a
|
|
| MD5 |
1a9f756e2332588cb12d18b69d29a870
|
|
| BLAKE2b-256 |
108f418685ef0325b9608ee2d55b2e289b3029c8f1155d800e39bdcc62bba946
|
File details
Details for the file plain_sessions-0.21.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.21.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16279eed41d712c7395d6e9c9898b39f9ee05cb97be25576ddc8876393a705d2
|
|
| MD5 |
9e9810c67d59f1575b6c24a6fb1fc64e
|
|
| BLAKE2b-256 |
c7dc1d3a8af6b90a766217a3d3d0d60f7a890fae3b2e7f752a15015f2cabef42
|