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.15.0.tar.gz
(9.9 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.15.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.15.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0558fea2c787543bd338981735a56dcd2306bc587cc6d19777341af072e537a2
|
|
| MD5 |
08ada9d7b613baf079d3c45fff0c295d
|
|
| BLAKE2b-256 |
75ba19d335cb9d9dd37ad245ed487d3f9742a5f28b51a600ac7f35d68cda4fee
|
File details
Details for the file plain_sessions-0.15.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.15.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b484e09d1c832c6c7180502c85bef39d274d10871ac314a71f886543a315eb9f
|
|
| MD5 |
38e4f6d44ea554c48aca170f387e7cb1
|
|
| BLAKE2b-256 |
53affa2457ba97b3c82ea1b950c9f1e63b531a333928a491471b1f8405627e0c
|