# bir kere
python manage.py migrate

# worker
celery -A core worker -l info

# beat (schedule çalıştırıcı)
celery -A core beat -l info


# 1. Request gönder ve task başlat
curl -X POST http://localhost:8000/api/v1/ml/train-model/

# Dönen task_id'i kopyala, sonra status sorgula:
curl "http://localhost:8000/api/v1/ml/training-status/?task_id=<task_id>"