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.19.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.19.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.19.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 |
12c95bf8bab809df6cec87a4b9dbb2f1081d48eb57568e9e5245b0bb59135175
|
|
| MD5 |
f272821325d36c71856ef221ba1ff87b
|
|
| BLAKE2b-256 |
81d3a21c28a67f8d5318a15e6ac78c402849dd72bbf1cdfa0dfd2923115b8b3a
|
File details
Details for the file plain_sessions-0.19.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.19.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 |
cd843bba4e083df638d83ba48e7b0623f1846c0bd5de3522e6a01db8781eff81
|
|
| MD5 |
d5646aa588b8c7f577507de1ae166fab
|
|
| BLAKE2b-256 |
650462fbed67686fb191b667456715fb8d67c5edadb96b0d7443f01d47f1f018
|