django
Django Python web framework. Use when building Django projects, ORM queries, admin interface customization, class-based views, DRF APIs, or using signals and…
от skeletorflet★ 48 звёзд на GitHub
Установить django в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
django
High-level Python framework with batteries included for rapid, secure web development.
Core Concepts
- ORM: queryset API with lazy evaluation,
select_related/prefetch_relatedfor N+1 prevention - Admin interface: auto-generated CRUD from models, customizable via
ModelAdminclasses - Class-based views:
ListView,DetailView,CreateViewreduce boilerplate over function views - DRF:
ModelViewSet+Serializerclasses for RESTful APIs with browsable docs
Common Patterns
- Signals:
post_save/pre_deletefor decoupled side effects like cache invalidation - Middleware: request/response pipeline for auth, CORS, logging, or rate limiting
- Auth system: built-in
Usermodel, permissions, groups, and session-based authentication - Testing:
TestCasewithClientfor request simulation,assertContainsfor template checks
Best Practices
- Use
select_relatedfor FK relationships andprefetch_relatedfor M2M to avoid N+1 queries - Keep business logic in model methods or service layers, not in views or signals
- Apply database-level constraints (unique, FK) alongside model-level validation
- Use
@login_requiredand@permission_requireddecorators rather than manual checks
Common Code Patterns
class ArticleView(DetailView): model = Article; template_name = "article.html"@api_view(["GET"])with@permission_classes([IsAuthenticated])for DRF endpoints
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл django?
Django Python web framework. Use when building Django projects, ORM queries, admin interface customization, class-based views, DRF APIs, or using signals and middleware.
Как установить скилл django?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл django запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…