Skip to content
Back to skills

Django Celery

ASecurity

DjangoおよびCeleryを使用した非同期タスク処理。タスクキューイング、ワーカー管理、エラー処理、スケジューリング。Redis/RabbitMQ ブローカー統合。

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentspythongobashdjangogitapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill django-celery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Django Celery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Django Celery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-django-celery/badge)](https://www.skillsdirectory.com/skills/thedixitjain-django-celery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: django-celery
description: "DjangoおよびCeleryを使用した非同期タスク処理。タスクキューイング、ワーカー管理、エラー処理、スケジューリング。Redis/RabbitMQ ブローカー統合。"
category: docs-and-knowledge-mgmt
source_repo: affaan-m/ECC
source_path: "docs/ja-JP/skills/django-celery/SKILL.md"
source_url: https://github.com/affaan-m/ECC/blob/HEAD/docs/ja-JP/skills/django-celery/SKILL.md
---
# Django + Celery 非同期タスク

Django でのバックグラウンドジョブと非同期処理。

## 使用時期

- メール送信をバックグラウンドで実行
- 重い処理をスケジュール
- 定期的なタスクを実行(日報、クリーンアップ)
- 外部API呼び出しをキューイング
- 複雑なワークフローを調整

## セットアップ

### 1. Celery インストール

```bash
pip install celery redis
```

### 2. タスク定義

```python
from celery import shared_task

@shared_task
def send_email(recipient):
    # メール送信ロジック
    pass
```

### 3. ワーカー起動

```bash
celery -A myapp worker -l info
```

## タスク

### 非同期実行

```python
send_email.delay(recipient)  # すぐにキューに追加、非同期実行
```

### スケジューリング

```python
from celery.schedules import crontab

app.conf.beat_schedule = {
    'send-report-daily': {
        'task': 'app.tasks.send_report',
        'schedule': crontab(hour=9, minute=0),
    },
}
```

## エラーハンドリング

- [ ] リトライロジック実装
- [ ] デッドレター処理
- [ ] ロギング構成
- [ ] モニタリング設定(Flower)

詳細については、ドキュメントを参照してください。

---

**Source:** [`affaan-m/ECC`](https://github.com/affaan-m/ECC) → `docs/ja-JP/skills/django-celery/SKILL.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.