The code snippet provided in the documentation needs an additional import to function correctly. Without this import, the code does not raise any errors, but it fails to discover @shared_tasks in other files. This PR adds the necessary import statement.
Fixes #1421
Description of the Change
The code snippet provided in the documentation needs an additional import to function correctly. Without this import, the code does not raise any errors, but it fails to discover
@shared_task
s in other files. This PR adds the necessary import statement.Link to Documentation: Django OAuth Toolkit Tutorial - Step 5
Checklist
CHANGELOG.md
updated (only for user-relevant changes)AUTHORS