quantum-ai-v2/data_analyzer
Claude 65c713ef64 Fix UNIQUE constraint error in Data Analyzer
- Replace objects.create() with get_or_create() to prevent duplicate responses
- Handle case where response already exists by updating it instead of creating new one
- Fix both success and error response creation
- Prevents 'UNIQUE constraint failed: data_analyzer_responses.request_id' error

Issue: OneToOneField relationship allows only one response per request
Solution: Use get_or_create() pattern to handle existing responses gracefully
2025-07-16 22:54:09 +05:30
..
migrations Implement PostgreSQL development parity and fix migration conflicts 2025-07-12 09:59:44 +05:30
templates/data_analyzer Simplify Data Analyzer frontend for beginners 2025-07-16 22:44:50 +05:30
__init__.py Implement wallet deduction after success & fix display issues 2025-07-10 16:34:03 +05:30
admin.py Implement wallet deduction after success & fix display issues 2025-07-10 16:34:03 +05:30
apps.py Implement wallet deduction after success & fix display issues 2025-07-10 16:34:03 +05:30
models.py Implement wallet deduction after success & fix display issues 2025-07-10 16:34:03 +05:30
processor.py Fix UNIQUE constraint error in Data Analyzer 2025-07-16 22:54:09 +05:30
urls.py Fix data analyzer JSON response errors 2025-07-13 19:34:22 +05:30
views.py Fix data analyzer JSON response errors 2025-07-13 19:34:22 +05:30