From 30daee0c7e8b94b9ea19201f6a8b8f43b74cb5b1 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 5 Feb 2026 14:28:23 +0100 Subject: [PATCH] chore: Update Django version references from 5.2 to 6 across documentation and skills. --- CLAUDE.md | 2 +- agents/django-mkdocs-docs.md | 2 +- agents/league-planner-architect.md | 2 +- knowledge/preferences.md | 2 +- skills/django-model/SKILL.md | 12 ++++++------ skills/query-optimizer/SKILL.md | 2 +- system/global-instructions.md | 2 +- vault-index.md | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index dbe89c4..676979b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,7 +12,7 @@ Personal Claude Code configuration vault containing reusable skills, custom agen claude-vault/ ├── skills/ # Modular skills (SKILL.md files) │ ├── skill-creator/ # Meta-skill for generating new skills -│ ├── django-model/ # lp-django-model: Django 5.2 models (league-planner) +│ ├── django-model/ # lp-django-model: Django 6 models (league-planner) │ ├── drf-api/ # lp-drf-api: DRF endpoints with @api_view │ ├── celery-task/ # lp-celery-task: Celery 5.5 tasks │ ├── query-optimizer/ # lp-query-optimizer: N+1 fixes diff --git a/agents/django-mkdocs-docs.md b/agents/django-mkdocs-docs.md index caf277b..4c18097 100644 --- a/agents/django-mkdocs-docs.md +++ b/agents/django-mkdocs-docs.md @@ -18,7 +18,7 @@ You are an expert Django documentation architect specializing in MkDocs-based do ## Project Context You are working within a Django-based sports league planning system. Key information: -- Stack: Django 5.2, PostgreSQL/SQLite, Celery, Django REST Framework +- Stack: Django 6, PostgreSQL/SQLite, Celery, Django REST Framework - View pattern: 4-file structure (views.py, views_func.py, views_crud.py, widgets.py) - API pattern: Function-based views with @api_view decorator (NO ViewSets) - Supported languages: English, German, French, Dutch, Korean, Spanish, DFB German, Arabic diff --git a/agents/league-planner-architect.md b/agents/league-planner-architect.md index 999eb09..df0deb9 100644 --- a/agents/league-planner-architect.md +++ b/agents/league-planner-architect.md @@ -42,7 +42,7 @@ GlobalCountry → GlobalTeam → GlobalLocation (common) ``` ### Technologie-Stack -- **Framework**: Django 5.2, Django REST Framework +- **Framework**: Django 6, Django REST Framework - **Database**: PostgreSQL (prod) / SQLite (dev) - **Task Queue**: Celery mit Multi-Queue Support - **Solver**: PuLP / FICO Xpress (via Git Submodules) diff --git a/knowledge/preferences.md b/knowledge/preferences.md index 120fca9..06a48c6 100644 --- a/knowledge/preferences.md +++ b/knowledge/preferences.md @@ -9,7 +9,7 @@ - **State:** React Context, Zustand (bei Bedarf) ### Backend -- **Framework:** Django 5.2+, Django REST Framework +- **Framework:** Django 6, Django REST Framework - **Language:** Python 3.12+ - **Task Queue:** Celery mit Redis - **Optimization:** PuLP, FICO Xpress diff --git a/skills/django-model/SKILL.md b/skills/django-model/SKILL.md index ec55ec9..b8800f1 100644 --- a/skills/django-model/SKILL.md +++ b/skills/django-model/SKILL.md @@ -1,13 +1,13 @@ --- name: lp-django-model -description: Creates Django 5.2 models for league-planner with Fat Model pattern, custom managers, Meta indexes/constraints, and query optimization. Use when adding new models. +description: Creates Django 6 models for league-planner with Fat Model pattern, custom managers, Meta indexes/constraints, and query optimization. Use when adding new models. argument-hint: [fields...] allowed-tools: Read, Write, Edit, Glob, Grep --- # League-Planner Django Model Generator -Creates production-ready Django 5.2 models following the league-planner project patterns with Fat Models, custom managers, proper Meta configuration, and query optimization hints. +Creates production-ready Django 6 models following the league-planner project patterns with Fat Models, custom managers, proper Meta configuration, and query optimization hints. ## When to Use @@ -223,7 +223,7 @@ class Meta: # Composite index for filtered queries models.Index(fields=['season', 'status', '-created_at']), - # Partial index (Django 5.2+) + # Partial index models.Index( fields=['name'], condition=models.Q(is_active=True), @@ -239,10 +239,10 @@ class Meta: ] ``` -### Django 5.2 Features +### Django 6 Features ```python -# Composite Primary Keys (new in 5.2) +# Composite Primary Keys from django.db.models import CompositePrimaryKey class TeamMatch(models.Model): @@ -389,6 +389,6 @@ After creating a model: 3. Test with `python manage.py shell`: ```python from scheduler.models import MyModel - # Model should be auto-imported in Django 5.2 shell + # Model should be auto-imported in Django 6 shell MyModel.objects.create(name='Test', season=season) ``` diff --git a/skills/query-optimizer/SKILL.md b/skills/query-optimizer/SKILL.md index bb24b60..d58d992 100644 --- a/skills/query-optimizer/SKILL.md +++ b/skills/query-optimizer/SKILL.md @@ -7,7 +7,7 @@ allowed-tools: Read, Write, Edit, Glob, Grep # League-Planner Query Optimizer -Optimizes Django 5.2 ORM queries following league-planner patterns: proper relationship loading, avoiding N+1 queries, using bulk operations, and leveraging PostgreSQL-specific features. +Optimizes Django 6 ORM queries following league-planner patterns: proper relationship loading, avoiding N+1 queries, using bulk operations, and leveraging PostgreSQL-specific features. ## When to Use diff --git a/system/global-instructions.md b/system/global-instructions.md index 2a0d75e..9988d00 100644 --- a/system/global-instructions.md +++ b/system/global-instructions.md @@ -142,7 +142,7 @@ Wenn widersprüchliche Informationen vorliegen, gilt folgende Hierarchie: - **State:** React Context, Zustand (bei Bedarf) ### Backend -- **Framework:** Django 5.2+, Django REST Framework +- **Framework:** Django 6, Django REST Framework - **Language:** Python 3.12+ - **Task Queue:** Celery mit Redis - **Optimization:** PuLP, FICO Xpress diff --git a/vault-index.md b/vault-index.md index 5025d75..61d7091 100644 --- a/vault-index.md +++ b/vault-index.md @@ -18,7 +18,7 @@ Spezialisiert auf das Django-basierte Liga-Planungssystem: | Skill | Beschreibung | Invocation | |-------|--------------|------------| -| **[django-model](./skills/django-model/SKILL.md)** | Django 5.2 Models mit Fat Model Pattern, Custom Managers | `/lp-django-model` | +| **[django-model](./skills/django-model/SKILL.md)** | Django 6 Models mit Fat Model Pattern, Custom Managers | `/lp-django-model` | | **[drf-api](./skills/drf-api/SKILL.md)** | DRF API Endpoints mit @api_view, drf-spectacular | `/lp-drf-api` | | **[celery-task](./skills/celery-task/SKILL.md)** | Celery 5.5 Tasks mit AbortableTask, Progress Tracking | `/lp-celery-task` | | **[permissions](./skills/permissions/SKILL.md)** | Multi-Tier Permissions mit Decorators, Session-based Access | `/lp-permissions` |