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.13.0.tar.gz (9.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.13.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_sessions-0.13.0.tar.gz
Algorithm Hash digest
SHA256 4e4d2aebef7049581d320817da58e8bd0f61d02d1b38e95f7fb2b3fcb48c29f9
MD5 3bc3b56ed2ebda36bc29da970b3dfadb
BLAKE2b-256 f5bdf08a6e6877e600586c1711c321b4c97bc471130a00bbc03ec61f6885a526

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_sessions-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 291adb2e03affa3684de7e94f624d101384cf4cc183db36ca5c7816d0983d429
MD5 6eb3d0b06878c301b1160920d0e5c178
BLAKE2b-256 564361807546ea3a48968b0963d679dfb2d7c34efff5b2fcfd6d34f34dc5ed8f

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