mirror of
https://github.com/thecyberlearn/quantum-ai.git
synced 2026-08-18 18:52:59 +00:00
BREAKING CHANGES: - Move marketplace and agent discovery views from core to agent_base app - Transfer all wallet functionality from core to dedicated wallet app - Move Stripe webhook handling to wallet app for better organization - Consolidate payment system logic under single responsibility NEW STRUCTURE: - core app: Platform pages only (homepage, pricing) - agent_base app: Complete agent marketplace and catalog system - wallet app: Full payment system with Stripe integration - Individual agent apps: Unchanged, self-contained IMPROVEMENTS: - Clean URL namespacing (agent_base:marketplace, wallet:wallet) - Template organization by app responsibility - Removed deprecated CSS files (header.css) - Added utility classes (.hidden) - Updated all template references to new URL structure - Comprehensive CLAUDE.md documentation updates TECHNICAL CHANGES: - Templates moved: marketplace.html, agent_detail.html → agent_base/ - Templates moved: wallet*.html → wallet/ - New files: agent_base/views.py, agent_base/urls.py, wallet/urls.py - Updated main urls.py routing configuration - Fixed Django system checks and namespace conflicts - Verified all functionality with test suite This reorganization follows Django best practices with single responsibility principle, making the codebase more maintainable and scalable. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
533 B
Python
13 lines
533 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'wallet'
|
|
|
|
urlpatterns = [
|
|
path('', views.wallet_view, name='wallet'),
|
|
path('topup/', views.wallet_topup_view, name='wallet_topup'),
|
|
path('top-up/success/', views.wallet_topup_success_view, name='wallet_topup_success'),
|
|
path('top-up/cancel/', views.wallet_topup_cancel_view, name='wallet_topup_cancel'),
|
|
path('stripe/debug/', views.stripe_debug_view, name='stripe_debug'),
|
|
path('stripe/webhook/', views.stripe_webhook_view, name='stripe_webhook'),
|
|
] |