- 利用 Django 的表单和模型表单类进行表单处理和验证。
- 使用 Django 的验证框架来验证表单和模型数据。
- 将业务逻辑保留在模型和表单中;保持视图轻量,专注于请求处理。
Django Best Practices Django Forms
Django 表单指南,专注于表单处理、验证和模型表单的使用。
Django Best Practices Django Forms by liaosw97 · 1650230
npx skillmds@latest add liaosw97/django-best-practices-django-forms File contents
---name: django-best-practices-django-formsdescription: Django 表单指南,专注于表单处理、验证和模型表单的使用。---- 利用 Django 的表单和模型表单类进行表单处理和验证。- 使用 Django 的验证框架来验证表单和模型数据。- 将业务逻辑保留在模型和表单中;保持视图轻量,专注于请求处理。
liaosw97/awesome-rules-skills/tree/main/plugins/django/skills/django-best-practices-django-forms commit 16502303b0
Frequently asked questions
Run npx skillmds@latest add liaosw97/django-best-practices-django-forms in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Django 表单指南,专注于表单处理、验证和模型表单的使用。 It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.