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.7.1.tar.gz
(16.8 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.7.1.tar.gz.
File metadata
- Download URL: plain_sessions-0.7.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc2d1fc06724a32ffd23fa77873a1972cd24cbfe542e255ee945ec27def785fa
|
|
| MD5 |
7554b5a0f1ad7345b458d402c0363468
|
|
| BLAKE2b-256 |
dbaeb9ff4c88620bd56a13c3e51475804ee232460f73817837d75323340b372b
|
File details
Details for the file plain_sessions-0.7.1-py3-none-any.whl.
File metadata
- Download URL: plain_sessions-0.7.1-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d276668cbe8f17754795e7674b82c87e781621880e1c806fdf121bb40654d9a
|
|
| MD5 |
53008656f44967471360842c5cbf7544
|
|
| BLAKE2b-256 |
a94941d8f21aba7506e42c03208e39bbacbc311155dfb99e57798f1b87df8f9b
|