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.20.0.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.20.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.20.0.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 |
4442fb60fbdded2edb7e1d86ce72e81fe31f7682d304190b139c45508fd3a479
|
|
| MD5 |
0674cc4106a52b2e2f1eb35524bde65d
|
|
| BLAKE2b-256 |
493f69ecb9b1ae1409fd332bfc5027ee5c013d7f15ef02630faa8954aa5e10d9
|
File details
Details for the file plain_sessions-0.20.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.20.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbf2a5d40af3c6693226933115267e153778284b2229daebd44e7eadf4dbe96d
|
|
| MD5 |
0dbf033b57c10ab548bf88ac4408451d
|
|
| BLAKE2b-256 |
5840f1c67a70413ade3516b2a8d87106056a3dcc6220c3573681d39f20254a5d
|