wallet/apps/gooyal_oauth2/admin.py
2024-07-03 18:18:17 +03:30

13 lines
343 B
Python
Executable file

"""
Django admin configuration for the gooyal-restrict-scopes package.
"""
from django.contrib import admin
from django.contrib.admin.sites import NotRegistered
from oauth2_provider.admin import ApplicationAdmin
# The restricted application is registered by Django OAuth Toolkit, but we want
# to provide our own admin that uses our form