Concept Flow - Defining tasks
Create tasks.py file
Define task function
Use @shared_task decorator
Task registered with Celery
Task can be called asynchronously
Task executes in worker process
This flow shows how to define a task in Django using Celery: create a tasks.py file, define a function, decorate it, register it, and then call it asynchronously.