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.18.0.tar.gz
(8.0 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.18.0.tar.gz.
File metadata
- Download URL: plain_sessions-0.18.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e033601ca08f87b834bcf65594fe5d021bcece1dace8a5b35910c13859aa5da2
|
|
| MD5 |
7d9a2698e3a8d457e1b816618651ed42
|
|
| BLAKE2b-256 |
52b861299784df9adc54a137f2f3c27edde3d277921bf33f5856597f64789df6
|
File details
Details for the file plain_sessions-0.18.0-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.18.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8e2d32d7c52c10e8504be796c5c8f03313f93f08e9c799cde452791d6b6a6cd
|
|
| MD5 |
650f5f2bce62edac80d8bd7100609729
|
|
| BLAKE2b-256 |
99f80211445b2f0c51d9a63b08f7f1c91e73ec6c4ce956e448fe330644ff742d
|