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.23.0.tar.gz
(9.2 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.23.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.23.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d854fbfcd6d5707fc4d6a4ca1889f79d8393454b1178d079fd9f244f68c57922
|
|
| MD5 |
686654b2a341b1af5b4d3003f15b8b5d
|
|
| BLAKE2b-256 |
ee9cbb61efb46ac6ab7cf351d2ddb709f6ff9a4bfd98c5e1d1887e7294de927b
|
File details
Details for the file plain_sessions-0.23.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.23.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51b0b7fd7b8a2f514ee4b5e76f7fa1f87b531baca1698c1265ee65bef6eacce3
|
|
| MD5 |
86b567197f7e6880bf33195b28c3257d
|
|
| BLAKE2b-256 |
e3258d0cb5758aaa461e90cbdc5c858eae3127ebe610be378b10867d6c7685ec
|