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.14.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.14.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_sessions-0.14.0.tar.gz
Algorithm Hash digest
SHA256 2043d802ca1b21983d525cb6be7ca08b54e46618bdfa33020e6e859ef2a1cc63
MD5 fb25d517efbb81be1cad9381c6624edc
BLAKE2b-256 d63f3f251a56d260e7a7c1f8e8cda0064a3574d74e04cd653b18a3f8e7c22501

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_sessions-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a26e5c6649f0aef2487ae332652aa0496b3ef79bc7178c548d80853ab29599f
MD5 47751379376544a6fec8e4462372974a
BLAKE2b-256 0b48178392ea36b1135b1e224fb374c8655ef392ef2211ccc572e8867a1d672a

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