Skip to content

Conversation

@giovanniacg
Copy link
Contributor

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_tasks in other files. This PR adds the necessary import statement.

Link to Documentation:Django OAuth Toolkit Tutorial - Step 5

Checklist

  • PR only contains one change (considered splitting up PR)
  • Unit-test added
  • Documentation updated
  • CHANGELOG.md updated (only for user-relevant changes)
  • Author name in AUTHORS

@n2ygkn2ygk added this to the 2.5.0 milestone May 22, 2024
Copy link
Contributor

@n2ygkn2ygk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@n2ygkn2ygk merged commit fd2bcec into django-oauth:masterMay 22, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Import in Documentation

2 participants

@giovanniacg@n2ygk