Skip to main content

Django StaffRequiredMixin - request.user.is_staff==True required

Project description

Installation

$ [sudo] pip install django-staff-required

Examples

from django_staff_required.views import StaffRequiredMixin

class MyView(StaffRequiredMixin,...):
    ...

readme42.com

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

django-staff-required-2020.7.1.tar.gz (1.6 kB view details)

Uploaded Source

File details

Details for the file django-staff-required-2020.7.1.tar.gz.

File metadata

  • Download URL: django-staff-required-2020.7.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7

File hashes

Hashes for django-staff-required-2020.7.1.tar.gz
Algorithm Hash digest
SHA256 f044e2c56db86de7e96ad109abadbe473bdda3b19be73b920db03df17dfc3348
MD5 1a02661a855c5c7845b65ecca1ad1b0b
BLAKE2b-256 27d39e6fbbe0166cf44f6e75925f647c82b3b661c9aa66344371b495553308bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page