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.0.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.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.26.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2db4c3741a36d620752008f72b57b40de53fd1753fc90ffbe26ea9d4dbcbae5e
|
|
| MD5 |
50be9f6940028848732d28947fc3c9bb
|
|
| BLAKE2b-256 |
fe1fd2e22a8995e1013925dd494fc6b608fea3a5f1ff01a22d5c0a7c17e7039a
|
File details
Details for the file plain_sessions-0.26.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.26.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13ec4789467feb1e4796e027bf0dd9a3b05448a91fa6fb1000f8e00bdb35be60
|
|
| MD5 |
9e9e68333978a818cc87e6fd40609a40
|
|
| BLAKE2b-256 |
dd63f2c9611c5bf894a558442ab0dd344cc68132a556e0a3813c9ed1cfb8dd54
|