You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The forward migration introduced in #1093 to hash all previously saved client secrets runs on apps that use a custom application model and produces the following error:
AttributeError: Manager isn't available; 'oauth2_provider.Application' has been swapped for 'oauth.Application'
Describe the bug
The forward migration introduced in #1093 to hash all previously saved client secrets runs on apps that use a custom application model and produces the following error:
To Reproduce
Define a custom application model in
settings.py
:Migrate the database:
Expected behavior
Migrations run when using a swappable application model without throwing an error.
Version 2.0
The text was updated successfully, but these errors were encountered: