mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 13:31:08 -05:00
- Add complete backend/ directory with full Django application - Add frontend/ directory with Vite + TypeScript setup ready for Next.js - Add comprehensive shared/ directory with: - Complete documentation and memory-bank archives - Media files and avatars (letters, park/ride images) - Deployment scripts and automation tools - Shared types and utilities - Add architecture/ directory with migration guides - Configure pnpm workspace for monorepo development - Update .gitignore to exclude .django_tailwind_cli/ build artifacts - Preserve all historical documentation in shared/docs/memory-bank/ - Set up proper structure for full-stack development with shared resources
1.1 KiB
1.1 KiB
Test Fixes Required - 2024-02-22
Issues Identified
1. ParkArea Unique Constraint Test (IntegrityError)
- Problem: Test expects ValidationError but gets IntegrityError
- Root Cause: Database constraint violation instead of model validation
- Fix: Update test to expect IntegrityError or add model validation
2. Numeric Filtering Test (min_rides filter)
- Problem: Filter not working correctly for min_rides=18
- Root Cause: Likely issue with ride count calculation or filter logic
- Fix: Check ParkFilter implementation and ride count logic
3. Historical Slug Lookup Test (is_historical flag)
- Problem: is_historical returning False instead of True for old slug
- Root Cause: get_by_slug method not correctly identifying historical slugs
- Fix: Review ParkArea.get_by_slug implementation
Priority Order
- Fix unique constraint test (quick fix)
- Fix historical slug lookup (core functionality)
- Fix numeric filtering (search feature)
Next Steps
- Fix tests one by one
- Run test suite after each fix
- Document any model changes needed