mcpField
D
django

django

github.com/full-stack-skillsDevelopment3101 installsUpdated 5w ago
Repository

About django

A Django development skill for building and configuring Python web applications, covering project setup, models, migrations, views, routes, templates, and admin. It also provides guidance on application structure, performance, security, and permissions.

Key features

  1. 01Sets up Django projects and apps
  2. 02Guides models and migrations
  3. 03Covers views, routes, and templates
  4. 04Explains admin registration
  5. 05Advises on security and permissions

Use cases

  1. 01Starting a Django web application
  2. 02Adding models and database migrations
  3. 03Configuring views, routing, and admin

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/full-stack-skills/python-skills --skill django

After installing, type/djangoin Claude Code to confirm it loaded.

Bundled filesagents/openai.yamlLICENSE.txt

Details

From the project README

When to use this skill

Use this skill whenever the user wants to:

  • 用 Django 创建 Web 应用、ORM、admin、视图与路由
  • 配置项目、应用、模型、迁移与部署

How to use this skill

  1. 起步:django-admin startproject;startapp、settings、INSTALLED_APPS。
  2. 核心:models、makemigrations/migrate;views、urls、templates;admin 注册。
  3. 参考:https://docs.djangoproject.com/

Best Practices

  • 一应用一职责;模型规范化与索引。
  • 视图瘦、逻辑在 service 或 model 层;安全与 CSRF、权限。

Keywords

django, ORM, MTV, 迁移, Python Web

Comments

Markdown supported