end of project

This commit is contained in:
2026-11-05 15:22:25 -05:00
parent 179a9b450a
commit f3c02ee9f7
3 changed files with 21 additions and 1 deletions

BIN
Woverine.pdf Normal file

Binary file not shown.

View File

@@ -1,3 +1,4 @@
cat > /tmp/your_data.json <<'EOF'
[ [
{ {
"model": "auth.user", "model": "auth.user",
@@ -9901,4 +9902,6 @@
"is_deleted": false "is_deleted": false
} }
} }
] ]
EOF
python3 manage.py loaddata /tmp/your_data.json

17
sources/Test prompt.md Normal file
View File

@@ -0,0 +1,17 @@
prompt
Test prompt
Write test `test_task_list_combined_filters_sort_pagination`:
- Setup: 100 tasks across 3 projects, various statuses, assignees, dates
- GET `/tasks/?status={in_progress_id}&project={proj1_id}&sort=-priority&page_size=10&page=2`
- Assert: only In Progress tasks from proj1, sorted by priority DESC, page 2 (items 11-20)
- Verify all filter/sort/pagination params work together correctly
Run test - should FAIL
Implementation prompt
Ensure all filters/sort/pagination work together:
- In view: apply filters then sort then paginate in that order
- Template: all filter/sort/page_size inputs in same `<form method="GET">`, pagination links preserve all query params via templatetags
- Clear Filters link = `/tasks/` (drops all params)
Run test - should PASS