13 lines
343 B
Python
Executable file
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
|