← All skills
Tencent SkillHub · Other

Django

Avoid common Django mistakes — QuerySet evaluation, N+1 queries, migration conflicts, and ORM traps.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Avoid common Django mistakes — QuerySet evaluation, N+1 queries, migration conflicts, and ORM traps.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, async.md, forms.md, models.md, orm.md, security.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.1

Documentation

ClawHub primary doc Primary doc: SKILL.md 2 sections Open source page

Quick Reference

TopicFileQuerySet lazy eval, N+1, transactionsorm.mdRequest handling, middleware, contextviews.mdValidation, CSRF, file uploadsforms.mdMigrations, signals, managersmodels.mdXSS, CSRF, SQL injection, authsecurity.mdAsync views, ORM in async, channelsasync.md

Critical Rules

QuerySets are lazy — iterating twice hits DB twice, use list() to cache select_related for FK/O2O, prefetch_related for M2M — or N+1 queries update() skips save() — no signals fire, no auto_now update F() for atomic updates — F('count') + 1 avoids race conditions get() raises DoesNotExist or MultipleObjectsReturned — use filter().first() for safe DEBUG=False requires ALLOWED_HOSTS — 400 Bad Request without it Forms need {% csrf_token %} — or 403 Forbidden on POST auto_now can't be overridden — use default=timezone.now if need manual set exclude(field=None) excludes NULL — use filter(field__isnull=True) for NULL Circular imports in models — use string reference: ForeignKey('app.Model') transaction.atomic() doesn't catch exceptions — errors still propagate sync_to_async for ORM in async views — ORM is sync-only

Category context

Long-tail utilities that do not fit the current primary taxonomy cleanly.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • async.md Docs
  • forms.md Docs
  • models.md Docs
  • orm.md Docs
  • security.md Docs