跳到正文
cccskills
免费在 GitHub 公开

django

Use when building Django applications - security hardening, authentication and permissions, ORM optimization, PostgreSQL features, Django 6.0, migrations, testing, and ecosystem libraries

中文简介正在准备中。当前显示原文说明。

集成工具PostgreSQL
查看安装方法

包含的文件(9)

  • SKILL.md3.0 KB
  • references/authentication-permissions.md16.5 KB
  • references/django6-modern.md8.0 KB
  • references/ecosystem.md10.5 KB
  • references/external-api.md6.5 KB
  • references/orm-performance.md6.6 KB
  • references/postgresql.md6.2 KB
  • references/security.md7.0 KB
  • references/testing-migrations.md9.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Django

Comprehensive guide to Django covering security, ORM, PostgreSQL, GeoDjango, Django 6.0 essentials, admin extensions, and ecosystem tools.

Overview

Django provides a batteries-included web framework with robust features out of the box:

  • Security - CSRF protection, authentication, sessions, password hashing, security middleware
  • ORM - Powerful database abstraction with query optimization
  • PostgreSQL - Full-text search, array fields, JSONB, range fields
  • GeoDjango - Geographic database operations with GPS extraction
  • Django 6.0 - Middleware changes, built-in tasks framework, CSP, GeneratedField
  • Admin Extensions - Operational dashboards and monitoring tools

Specialized Skills

For deeper coverage of specific domains, see these dedicated skills:


Deep Dives

Load these reference files on demand for detailed coverage:

  • ↳ security.md — CSRF protection, sessions, security middleware, field-level encryption
  • ↳ authentication-permissions.md — Authentication views, custom backends, password management, login templates, Django permissions
  • ↳ orm-performance.md — ORM optimization, caching, response time, materialized views
  • ↳ postgresql.md — pgvector, GeneratedField, GeoDjango, PostgreSQL features
  • ↳ django6-modern.md — Django Tasks framework, 6.0 essentials, multi-DB routing, model fields, app naming
  • ↳ testing-migrations.md — Testing optimization, migrations, signals, StreamingHttpResponse
  • ↳ external-api.md — Operational dashboards, external API integration
  • ↳ ecosystem.md — Django ecosystem libraries

Best Practices

  1. Always use {% csrf_token %} in POST forms
  2. Use HTTPS in production (SECURE_SSL_REDIRECT = True)
  3. Enable HSTS for secure connections
  4. Set secure cookies (SESSION_COOKIE_SECURE = True)
  5. Use strong password validation
  6. Use @login_required for protected views
  7. Never expose sensitive data in URLs or logs
  8. Validate file uploads carefully
  9. Use prepared statements (Django ORM does this automatically)

References

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

aiohttp

免费

Use when building Python async HTTP services or clients with aiohttp - web server routing, middleware, WebSocket, SSE, streaming, client sessions, pytest-aiohttp testing, or troubleshooting SSL and timeout issues

中文简介正在准备中。当前显示原文说明。

CodeAtCode/oss-ai-skills242026年10月9日 更新

ast-grep

免费

Use when doing structural code search and rewriting - ast-grep linting, refactoring, multi-language patterns

中文简介正在准备中。当前显示原文说明。

CodeAtCode/oss-ai-skills242026年10月9日 更新

Use when building GBA games with the BPCore Lua engine - entity, sprite and tilemap functions, SRAM save and load, link cable multiplayer protocol, camera and scrolling, or optimization patterns

中文简介正在准备中。当前显示原文说明。

CodeAtCode/oss-ai-skills242026年10月9日 更新

celery

免费

Use when running background tasks with Celery - worker and broker configuration (Redis, RabbitMQ), task routing by name vs queue, chains/groups/chords, retry patterns (autoretry_for, retry_backoff), acks_late semantics, failure detection, and monitoring with Flower

中文简介正在准备中。当前显示原文说明。

CodeAtCode/oss-ai-skills242026年10月9日 更新

Use when customizing Django Admin - save_formset, get_search_results, formsets, queryset optimization, db_index, custom URLs

中文简介正在准备中。当前显示原文说明。

CodeAtCode/oss-ai-skills242026年10月9日 更新

Use when implementing Django authentication - local accounts, OAuth, email verification, MFA, OIDC, django-organizations

中文简介正在准备中。当前显示原文说明。

CodeAtCode/oss-ai-skills242026年10月9日 更新

查看 CodeAtCode 的全部技能

报告此技能的问题