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.25.0.tar.gz
(8.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.25.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.25.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f164d641d1e9f037125109ce1ba0ab9ccda29fdae9b796460b6c84bb185ef580
|
|
| MD5 |
b4bd3a9ca130918b921e5921cc95ce2d
|
|
| BLAKE2b-256 |
833ff5c52b5659550e5925ec1f53e07483c51b9dc82b0a81eac3e35371ad59e2
|
File details
Details for the file plain_sessions-0.25.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.25.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c703d1ba2477e1dc431fb4e6b9c17c1b06563d5da21f3d88e0f3aade6fff735c
|
|
| MD5 |
408789398a82497ad4ec0bd7bc59ffc7
|
|
| BLAKE2b-256 |
1ef8b84c373989a06fd56888e4899256be23e5d8d7e4fa215a13a7f4628ba867
|