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.26.1.tar.gz (8.8 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.26.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_sessions-0.26.1.tar.gz
Algorithm Hash digest
SHA256 646617343ba81a8377152491dc23548e3129ef6b5b994a0c629d49ac233f83d3
MD5 e59cb7b5006386579b0b346efbe1bdb6
BLAKE2b-256 bf050533509b23cd777a2d224e7aac4a948434bdda1f87553a21673945523be1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_sessions-0.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7bbcb243e41bb79dc89e682f8943858855fe1d04770a90818594bc79598bcce
MD5 63e844ea361aa21c32427b3099ca2f33
BLAKE2b-256 1accdb51356619d2cfcbf576014c6f9c99faa0c79e3eedae8e9a8016e5479870

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