Closed giovanniacg closed 4 months ago
Feel free to submit a PR.
Thanks Alan.
Opened in https://github.com/jazzband/django-oauth-toolkit/pull/1424
On Mon, May 20, 2024 at 3:53 PM Alan Crosswell @.***> wrote:
Feel free to submit a PR.
— Reply to this email directly, view it on GitHub https://github.com/jazzband/django-oauth-toolkit/issues/1421#issuecomment-2121016967, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIHMOLCTV4Q5XULO5MNBALZDJBBRAVCNFSM6AAAAABH6CGL2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRGAYTMOJWG4 . You are receiving this because you authored the thread.Message ID: @.***>
I had to make this amount to discovery out my tasks; I wasn't comfortable with it
Django OAuth Toolkit Tutorial - Passo 5
Finally, update tutorial/init.py to make sure Celery gets loaded when the app starts up: from .celery import app as celery_app all = ('celery_app',)
Description:
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.Link to Documentation: Django OAuth Toolkit Tutorial - Step 5
Code:
Necessary Import:
Problem: Without the
from django.conf import settings
import, the code does not produce any errors, but it fails to discover@shared_task
s in other files.Reported Issues:
References: