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.11.0.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.11.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.11.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d281b10c81c52095bc0ac8ca7ea0eb31607b6865220845a0c655cdb7eb17cfd4
|
|
| MD5 |
44b99db893bd2a105fbad2a227961ce0
|
|
| BLAKE2b-256 |
567e0217c5a4181780dff364b5855216e0bef7e31880843e8d6701642454297d
|
File details
Details for the file plain_sessions-0.11.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.11.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8db0f4068740b4f94abdc7204c5108fb06dbedf8b2aef28fccb0495819963636
|
|
| MD5 |
b1a724aa3705fff241f993707e466480
|
|
| BLAKE2b-256 |
0190da5c9b2d24ea2136a4b0cf316c5f70975944c40311db11fb11eb2cce985a
|