Skip to main content

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


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.22.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plain_sessions-0.22.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file plain_sessions-0.22.0.tar.gz.

File metadata

  • Download URL: plain_sessions-0.22.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.14

File hashes

Hashes for plain_sessions-0.22.0.tar.gz
Algorithm Hash digest
SHA256 1a4832c94c5b46947ce32bf22c5e00729ba8b5b59c10cae0d70b31842b233336
MD5 55879a0e69f04e5d96c2b8872693c3fd
BLAKE2b-256 d9e003d2b57b295ad0b1ea3b3308263ad88a69d994d78932a2abb78465c572db

See more details on using hashes here.

File details

Details for the file plain_sessions-0.22.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plain_sessions-0.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d06b3357ac792564688567717e9d8835aa64050c153ae9a47f9400c2dce76dcd
MD5 04378cdfe54eaed746c3a363af0f053c
BLAKE2b-256 1a3819c6400b64f5512765eba9f167be084f15e602da92b78ae6908b0bcac76f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page