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.8.0.tar.gz
(3.0 MB
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.8.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.8.0.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d8457d6339344f39ad524a30b52b7ca7bf24885d3eaf7f43b5f4bb458eddfa3
|
|
| MD5 |
314c8107c0af6314cf5c3e5a67268b1e
|
|
| BLAKE2b-256 |
c3dea0e2d9ec7266ed15ac3cbea74d336056d1465a81233107e41bb1b344e6e1
|
File details
Details for the file plain_sessions-0.8.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.8.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7785a21723c991db66ab6e23b9c6b959baf1fb782c22e9f344e41819bb444ea7
|
|
| MD5 |
f5eeac4991388ab295a6a463cb8e113d
|
|
| BLAKE2b-256 |
2edd119ca3fe2133f376931f36c8dbf35be2102437335467a64d5c0ee4a822d4
|