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.11.0.tar.gz (9.7 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.11.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_sessions-0.11.0.tar.gz
Algorithm Hash digest
SHA256 d281b10c81c52095bc0ac8ca7ea0eb31607b6865220845a0c655cdb7eb17cfd4
MD5 44b99db893bd2a105fbad2a227961ce0
BLAKE2b-256 567e0217c5a4181780dff364b5855216e0bef7e31880843e8d6701642454297d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_sessions-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8db0f4068740b4f94abdc7204c5108fb06dbedf8b2aef28fccb0495819963636
MD5 b1a724aa3705fff241f993707e466480
BLAKE2b-256 0190da5c9b2d24ea2136a4b0cf316c5f70975944c40311db11fb11eb2cce985a

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