notifications/apps/gooyal_oauth2/admin.py
Sayyid Hamid Mahdavi ac5356bf9c init
2025-06-29 17:09:37 +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