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.24.0.tar.gz (8.5 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.24.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_sessions-0.24.0.tar.gz
Algorithm Hash digest
SHA256 73329c85b7b193cc3b6c04a57995c3eedbb48e552d6d32961ef3fb71a6b6f75c
MD5 6c1ff5dc9bcc6dc0f6b317955904dfbf
BLAKE2b-256 f284836b60430bb23a702f8ceec28fa226c589f54a52cbed32ff6d83811c0639

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_sessions-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d616d59ca359e81f8c8948b060bfff8013e97d2a92cec780bc17dc7fc069153
MD5 afbd44ec45bedad73882078715fb8ca9
BLAKE2b-256 4a2c91d81c4e065afe4e5693ae10f926e904eae78bf8f3954fdac65c21966004

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