chat/apps/gooyal_oauth2/admin.py
Sayyid Hamid Mahdavi d596e319f0 init
2026-05-10 15:25:49 +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