ipg/apps/gooyal_oauth2/admin.py
Sayyid Hamid Mahdavi b8b4f78a22 init
2025-05-10 12:33:40 +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