mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 13:52:56 +00:00
Fix undefined cache_user_data decorator in wallet views
- Comment out @cache_user_data decorator that was not imported/defined - This resolves NameError preventing Django startup - Temporary fix - caching can be re-enabled later with proper decorator 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cb638d3b6f
commit
3f41d4bd79
@ -29,7 +29,7 @@ STRIPE_WEBHOOK_IPS = [
|
|||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
@cache_user_data('wallet_data', timeout=300) # Cache for 5 minutes
|
# @cache_user_data('wallet_data', timeout=300) # Cache for 5 minutes - decorator not defined
|
||||||
def wallet_view(request):
|
def wallet_view(request):
|
||||||
"""Wallet management page with optimized queries"""
|
"""Wallet management page with optimized queries"""
|
||||||
from django.db.models import Sum, Q
|
from django.db.models import Sum, Q
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user