This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
Custom related_names
This release contains a backward incompatible change:
-
Foreign key reverse names have been specified, so this library can be
installed alongsidedjango-oauth-toolkit
. Code that traverses from
the User model todjango-oauth2-provider
models will need to update the
related name used.>>> user.access_token >>> user.grant >>> user.refresh_token
becomes:
>>> user.dop_access_token >>> user.dop_grant >>> user.dop_refresh_token