How to Solve NameError: name 'app' is not defined -- myproject
Solution: Import the 'app' module
To Solve the error, add the following line to the top of your code.
from myproject.celery import app
For more information:
Python myproject app
To Solve the error, add the following line to the top of your code.
from myproject.celery import app
For more information:
Python myproject app