chore: Update Django version references from 5.2 to 6 across documentation and skills.

This commit is contained in:
martin 2026-02-05 14:28:23 +01:00
parent ea9ca80e54
commit 30daee0c7e
8 changed files with 13 additions and 13 deletions

View File

@ -12,7 +12,7 @@ Personal Claude Code configuration vault containing reusable skills, custom agen
claude-vault/ claude-vault/
├── skills/ # Modular skills (SKILL.md files) ├── skills/ # Modular skills (SKILL.md files)
│ ├── skill-creator/ # Meta-skill for generating new skills │ ├── 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 │ ├── drf-api/ # lp-drf-api: DRF endpoints with @api_view
│ ├── celery-task/ # lp-celery-task: Celery 5.5 tasks │ ├── celery-task/ # lp-celery-task: Celery 5.5 tasks
│ ├── query-optimizer/ # lp-query-optimizer: N+1 fixes │ ├── query-optimizer/ # lp-query-optimizer: N+1 fixes

View File

@ -18,7 +18,7 @@ You are an expert Django documentation architect specializing in MkDocs-based do
## Project Context ## Project Context
You are working within a Django-based sports league planning system. Key information: 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) - 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) - API pattern: Function-based views with @api_view decorator (NO ViewSets)
- Supported languages: English, German, French, Dutch, Korean, Spanish, DFB German, Arabic - Supported languages: English, German, French, Dutch, Korean, Spanish, DFB German, Arabic

View File

@ -42,7 +42,7 @@ GlobalCountry → GlobalTeam → GlobalLocation (common)
``` ```
### Technologie-Stack ### Technologie-Stack
- **Framework**: Django 5.2, Django REST Framework - **Framework**: Django 6, Django REST Framework
- **Database**: PostgreSQL (prod) / SQLite (dev) - **Database**: PostgreSQL (prod) / SQLite (dev)
- **Task Queue**: Celery mit Multi-Queue Support - **Task Queue**: Celery mit Multi-Queue Support
- **Solver**: PuLP / FICO Xpress (via Git Submodules) - **Solver**: PuLP / FICO Xpress (via Git Submodules)

View File

@ -9,7 +9,7 @@
- **State:** React Context, Zustand (bei Bedarf) - **State:** React Context, Zustand (bei Bedarf)
### Backend ### Backend
- **Framework:** Django 5.2+, Django REST Framework - **Framework:** Django 6, Django REST Framework
- **Language:** Python 3.12+ - **Language:** Python 3.12+
- **Task Queue:** Celery mit Redis - **Task Queue:** Celery mit Redis
- **Optimization:** PuLP, FICO Xpress - **Optimization:** PuLP, FICO Xpress

View File

@ -1,13 +1,13 @@
--- ---
name: lp-django-model 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: <model-name> [fields...] argument-hint: <model-name> [fields...]
allowed-tools: Read, Write, Edit, Glob, Grep allowed-tools: Read, Write, Edit, Glob, Grep
--- ---
# League-Planner Django Model Generator # 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 ## When to Use
@ -223,7 +223,7 @@ class Meta:
# Composite index for filtered queries # Composite index for filtered queries
models.Index(fields=['season', 'status', '-created_at']), models.Index(fields=['season', 'status', '-created_at']),
# Partial index (Django 5.2+) # Partial index
models.Index( models.Index(
fields=['name'], fields=['name'],
condition=models.Q(is_active=True), condition=models.Q(is_active=True),
@ -239,10 +239,10 @@ class Meta:
] ]
``` ```
### Django 5.2 Features ### Django 6 Features
```python ```python
# Composite Primary Keys (new in 5.2) # Composite Primary Keys
from django.db.models import CompositePrimaryKey from django.db.models import CompositePrimaryKey
class TeamMatch(models.Model): class TeamMatch(models.Model):
@ -389,6 +389,6 @@ After creating a model:
3. Test with `python manage.py shell`: 3. Test with `python manage.py shell`:
```python ```python
from scheduler.models import MyModel 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) MyModel.objects.create(name='Test', season=season)
``` ```

View File

@ -7,7 +7,7 @@ allowed-tools: Read, Write, Edit, Glob, Grep
# League-Planner Query Optimizer # 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 ## When to Use

View File

@ -142,7 +142,7 @@ Wenn widersprüchliche Informationen vorliegen, gilt folgende Hierarchie:
- **State:** React Context, Zustand (bei Bedarf) - **State:** React Context, Zustand (bei Bedarf)
### Backend ### Backend
- **Framework:** Django 5.2+, Django REST Framework - **Framework:** Django 6, Django REST Framework
- **Language:** Python 3.12+ - **Language:** Python 3.12+
- **Task Queue:** Celery mit Redis - **Task Queue:** Celery mit Redis
- **Optimization:** PuLP, FICO Xpress - **Optimization:** PuLP, FICO Xpress

View File

@ -18,7 +18,7 @@ Spezialisiert auf das Django-basierte Liga-Planungssystem:
| Skill | Beschreibung | Invocation | | 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` | | **[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` | | **[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` | | **[permissions](./skills/permissions/SKILL.md)** | Multi-Tier Permissions mit Decorators, Session-based Access | `/lp-permissions` |