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.10.0.tar.gz
(9.6 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.10.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.10.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
150afb32ab040f008a32b77942f97816372e3f1732873620f727af1f1f7c0163
|
|
| MD5 |
b04881d434abd41a202aa22f84193e9c
|
|
| BLAKE2b-256 |
4cb2f8d68c61daaba21eb19ba17ed1728832a9428204efdaec5d201b67712338
|
File details
Details for the file plain_sessions-0.10.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.10.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a69b3f61498623ba4bedcb99a79e413de64f113fd0d54e36c3acb5fc95692889
|
|
| MD5 |
0a073237675b6d9a124999d626dbdac7
|
|
| BLAKE2b-256 |
8075b717f3bdcc4bc01a416746eec9306777787b980b397632f937b10817fc7c
|