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.12.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.12.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.12.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3010632e437addfa25ce05996dc51d061e5bce22f2ae2a0900cb42c7659cbd77
|
|
| MD5 |
7954dfef98d707e2d411152497ebba60
|
|
| BLAKE2b-256 |
bc9a6a4e5e96eeeed4966c84e64e9404bae1f71078419ccf852f58f6f41596fa
|
File details
Details for the file plain_sessions-0.12.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.12.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a172c9d471d91975bc9ad09c4f5fa12f351f645dcb5ef4af8a19ec921e8b4707
|
|
| MD5 |
7785fa90c977cb118de23797570e3a0b
|
|
| BLAKE2b-256 |
5903c4658307035aa00f37c7730d200b36328b4d01509596964d1de1343dd87a
|