About Allowing Access to a Class-based-view only to Superusers
To allow only superusers to access a certain class-based view, extend this mixin:
1 2 3 4 5 6 7 |
|
Tips and Tricks Programming Django 4.2 Django 3.2 Django 2.2
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You