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.26.1.tar.gz
(8.8 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.26.1.tar.gz.
File metadata
- Download URL: plain_sessions-0.26.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
646617343ba81a8377152491dc23548e3129ef6b5b994a0c629d49ac233f83d3
|
|
| MD5 |
e59cb7b5006386579b0b346efbe1bdb6
|
|
| BLAKE2b-256 |
bf050533509b23cd777a2d224e7aac4a948434bdda1f87553a21673945523be1
|
File details
Details for the file plain_sessions-0.26.1-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.26.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7bbcb243e41bb79dc89e682f8943858855fe1d04770a90818594bc79598bcce
|
|
| MD5 |
63e844ea361aa21c32427b3099ca2f33
|
|
| BLAKE2b-256 |
1accdb51356619d2cfcbf576014c6f9c99faa0c79e3eedae8e9a8016e5479870
|