$npx -y skills add krzysztofsurdy/code-virtuoso --skill django-componentsComprehensive reference for all 33 Django framework components with Python 3.10+ and Django 6.0 patterns. Use when the user asks to implement, configure, or troubleshoot any Django component including Models, QuerySets, Views, Templates, Forms, Admin, Authentication, Caching, Tes
| 1 | # Django Components |
| 2 | |
| 3 | Complete reference for all 33 Django components - patterns, APIs, configuration, and best practices for Python 3.10+ and Django 6.0. |
| 4 | |
| 5 | ## Component Index |
| 6 | |
| 7 | ### Models & Database |
| 8 | - **Models** - Model definition, field types, Meta options, inheritance, managers -> [reference](references/models.md) |
| 9 | - **QuerySets** - QuerySet API, field lookups, Q objects, F expressions, aggregation -> [reference](references/querysets.md) |
| 10 | - **Migrations** - Migration workflow, operations, data migrations, squashing -> [reference](references/migrations.md) |
| 11 | - **Database Functions** - Database functions, conditional expressions, full-text search -> [reference](references/database-functions.md) |
| 12 | |
| 13 | ### Views & HTTP |
| 14 | - **Views** - Function-based views, shortcuts (render, redirect, get_object_or_404) -> [reference](references/views.md) |
| 15 | - **Class-Based Views** - ListView, DetailView, CreateView, UpdateView, DeleteView, mixins -> [reference](references/class-based-views.md) |
| 16 | - **URL Routing** - URL configuration, path(), re_path(), namespaces, reverse() -> [reference](references/urls.md) |
| 17 | - **Middleware** - Middleware architecture, built-in middleware, custom middleware -> [reference](references/middleware.md) |
| 18 | - **Request & Response** - HttpRequest, HttpResponse, JsonResponse, StreamingHttpResponse -> [reference](references/request-response.md) |
| 19 | |
| 20 | ### Templates |
| 21 | - **Templates** - Template language, tags, filters, inheritance, custom template tags -> [reference](references/templates.md) |
| 22 | |
| 23 | ### Forms |
| 24 | - **Forms** - Form class, fields, widgets, ModelForm, formsets, validation -> [reference](references/forms.md) |
| 25 | |
| 26 | ### Admin |
| 27 | - **Admin** - ModelAdmin, list_display, fieldsets, inlines, actions, customization -> [reference](references/admin.md) |
| 28 | |
| 29 | ### Authentication & Security |
| 30 | - **Authentication** - User model, login/logout, permissions, groups, custom user models -> [reference](references/auth.md) |
| 31 | - **Security** - CSRF, XSS, clickjacking, SSL, CSP, cryptographic signing -> [reference](references/security.md) |
| 32 | - **Sessions** - Session framework, backends, configuration -> [reference](references/sessions.md) |
| 33 | |
| 34 | ### Caching |
| 35 | - **Cache** - Cache backends (Redis, Memcached, DB, filesystem), per-view/template caching -> [reference](references/cache.md) |
| 36 | |
| 37 | ### Signals |
| 38 | - **Signals** - Signal dispatcher, built-in signals (pre_save, post_save, etc.) -> [reference](references/signals.md) |
| 39 | |
| 40 | ### Communication |
| 41 | - **Email** - send_mail, EmailMessage, HTML emails, backends -> [reference](references/email.md) |
| 42 | - **Messages** - Messages framework, levels, storage backends -> [reference](references/messages.md) |
| 43 | |
| 44 | ### Testing |
| 45 | - **Testing** - TestCase, Client, assertions, RequestFactory, fixtures -> [reference](references/testing.md) |
| 46 | |
| 47 | ### Files & Static Assets |
| 48 | - **Files** - File objects, storage API, file uploads, custom storage -> [reference](references/files.md) |
| 49 | - **Static Files** - Static file configuration, collectstatic, ManifestStaticFilesStorage -> [reference](references/static-files.md) |
| 50 | |
| 51 | ### Internationalization |
| 52 | - **I18n** - Translation, localization, timezones, message files -> [reference](references/i18n.md) |
| 53 | |
| 54 | ### Serialization & Data |
| 55 | - **Serialization** - Serializers, JSON/XML formats, natural keys, fixtures -> [reference](references/serialization.md) |
| 56 | - **Content Types** - ContentType model, generic relations -> [reference](references/content-types.md) |
| 57 | - **Validators** - Built-in validators, custom validators -> [reference](references/validators.md) |
| 58 | - **Pagination** - Paginator, Page objects, template integration -> [reference](references/pagination.md) |
| 59 | |
| 60 | ### Async & Tasks |
| 61 | - **Async** - Async views, async ORM, sync_to_async, ASGI -> [reference](references/async.md) |
| 62 | - **Tasks** - Tasks framework, task backends, scheduling -> [reference](references/tasks.md) |
| 63 | |
| 64 | ### Configuration & CLI |
| 65 | - **Settings** - Settings reference by category, splitting settings -> [reference](references/settings.md) |
| 66 | - **Management Commands** - Built-in commands, custom commands, call_command -> [reference](references/management-commands.md) |
| 67 | - **Logging** - Logging configuration, handlers, Django loggers -> [reference](references/logging.md) |
| 68 | |
| 69 | ### Deployment |
| 70 | - **Deployment** - WSGI, ASGI, Gunicorn, Uvicorn, static files, checklist -> [reference](references/deployment.md) |
| 71 | |
| 72 | ## Quick Patterns |
| 73 | |
| 74 | ### Define a Model |
| 75 | |
| 76 | ```python |
| 77 | from django.db import models |
| 78 | |
| 79 | class Article(models.Model): |
| 80 | title = models.CharField(max_length=200) |
| 81 | slug = models.Slu |