Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restricting some views to superusers #568

Open
chandler37 opened this issue Mar 7, 2018 · 0 comments
Open

Restricting some views to superusers #568

chandler37 opened this issue Mar 7, 2018 · 0 comments

Comments

@chandler37
Copy link

I have the same concern as this question:

https://stackoverflow.com/questions/40666252/securing-django-oauth-toolkit-views

How do I restrict some of the views, e.g. ApplicationRegistration, to superusers? Your tutorial uses settings.DEBUG, but that's not an option in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant