mirror of https://gitlab.crans.org/bde/nk20
typo
This commit is contained in:
parent
d228dbf225
commit
b6b81a8b8f
|
@ -26,7 +26,7 @@ admin_site.register(Site, SiteAdmin)
|
||||||
# Add external apps model
|
# Add external apps model
|
||||||
if "oauth2_provider" in settings.INSTALLED_APPS:
|
if "oauth2_provider" in settings.INSTALLED_APPS:
|
||||||
from oauth2_provider.admin import ApplicationAdmin, GrantAdmin, AccessTokenAdmin, RefreshTokenAdmin
|
from oauth2_provider.admin import ApplicationAdmin, GrantAdmin, AccessTokenAdmin, RefreshTokenAdmin
|
||||||
from oauth2_provider.model import Application, Grant, AccessToken, RefreshToken
|
from oauth2_provider.models import Application, Grant, AccessToken, RefreshToken
|
||||||
admin_site.register(Application, ApplicationAdmin)
|
admin_site.register(Application, ApplicationAdmin)
|
||||||
admin_site.register(Grant, GrantAdmin)
|
admin_site.register(Grant, GrantAdmin)
|
||||||
admin_site.register(AccessToken, AccessTokenAdmin)
|
admin_site.register(AccessToken, AccessTokenAdmin)
|
||||||
|
|
Loading…
Reference in New Issue