Skip to main content

A simple decorator to handle views for authorized sessions

Project description

@unauthenticated_user(func, ‘path’)

A simple decorator to handle views for authorized sessions.

Sample (Django):

from django.shortcuts import redirect

@unauthenticated_user(redirect, ‘home’) def some_view(request):

Change Log

0.0.2 (22/04/2021)

  • FIrst release

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

unauthorized_page-0.0.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file unauthorized_page-0.0.2.tar.gz.

File metadata

  • Download URL: unauthorized_page-0.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for unauthorized_page-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3dad2f50d5c0b5956c3d0930d1df1b871e9f7de21ec35720f66ee196343da7df
MD5 4ad738fe6b2a00054919d926f5bdc317
BLAKE2b-256 2b2a493ab608b0883527ae9bebdab95a26629a6e9ee61a8444af6f5cadbced11

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