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.9.0.tar.gz
(9.7 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.9.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.9.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51b9c3588d38ce85b87192da694ddfb47f0ff252a3bb6dc9fa9269d6147e1c18
|
|
| MD5 |
7602fcff65efea2a8795834399dca590
|
|
| BLAKE2b-256 |
3827c05faa54cbfcc386975867702f9b32f40639b46b23879f372df54773e392
|
File details
Details for the file plain_sessions-0.9.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.9.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f8068de99cfa824f2d2196f9da3c65ed62072666000e6f4a1dbe19c67e59764
|
|
| MD5 |
5e7bb9b845b8ee336dc3b22c4af00e2d
|
|
| BLAKE2b-256 |
44e31edf2cd96d18eafa41610d34c17f7ecee32a7402af86c07e3af74c32a16c
|