From 443bba21f1837ca1776675763fe03c1d6340ec87 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 27 Jul 2025 09:29:29 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20wallet=20500=20error=20and?= =?UTF-8?q?=20error=20page=20alignment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add missing stripe_payment_intent_id field to WalletTransaction model - Create and apply database migration for wallet schema fix - Fix vertical alignment of help widgets on all error pages (400, 403, 404, 500) - Add margin-left: auto to align help widgets with wallet card above - Include data_analyzer migration for file field optimization 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- ...lter_dataanalysisagentrequest_data_file.py | 22 +++++++++++++++++++ templates/400.html | 2 +- templates/403.html | 2 +- templates/404.html | 2 +- templates/500.html | 2 +- ...lettransaction_stripe_payment_intent_id.py | 18 +++++++++++++++ 6 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 data_analyzer/migrations/0005_alter_dataanalysisagentrequest_data_file.py create mode 100644 wallet/migrations/0002_wallettransaction_stripe_payment_intent_id.py diff --git a/data_analyzer/migrations/0005_alter_dataanalysisagentrequest_data_file.py b/data_analyzer/migrations/0005_alter_dataanalysisagentrequest_data_file.py new file mode 100644 index 0000000..c27226c --- /dev/null +++ b/data_analyzer/migrations/0005_alter_dataanalysisagentrequest_data_file.py @@ -0,0 +1,22 @@ +# Generated by Django 5.2.4 on 2025-07-27 03:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("data_analyzer", "0004_fix_duplicate_fields"), + ] + + operations = [ + migrations.AlterField( + model_name="dataanalysisagentrequest", + name="data_file", + field=models.FileField( + blank=True, + help_text="PDF file for analysis", + upload_to="uploads/data_analyzer/", + ), + ), + ] diff --git a/templates/400.html b/templates/400.html index 79a58f8..be07f92 100644 --- a/templates/400.html +++ b/templates/400.html @@ -90,7 +90,7 @@ -
+

🛠️ diff --git a/templates/403.html b/templates/403.html index 8c509c1..aef528c 100644 --- a/templates/403.html +++ b/templates/403.html @@ -76,7 +76,7 @@

-
+

🆘 diff --git a/templates/404.html b/templates/404.html index db886fb..fe06608 100644 --- a/templates/404.html +++ b/templates/404.html @@ -76,7 +76,7 @@

-
+

💡 diff --git a/templates/500.html b/templates/500.html index 44af1b3..501f859 100644 --- a/templates/500.html +++ b/templates/500.html @@ -69,7 +69,7 @@

-
+

📊 diff --git a/wallet/migrations/0002_wallettransaction_stripe_payment_intent_id.py b/wallet/migrations/0002_wallettransaction_stripe_payment_intent_id.py new file mode 100644 index 0000000..dd043fd --- /dev/null +++ b/wallet/migrations/0002_wallettransaction_stripe_payment_intent_id.py @@ -0,0 +1,18 @@ +# Generated by Django 5.2.4 on 2025-07-27 03:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("wallet", "0001_initial"), + ] + + operations = [ + migrations.AddField( + model_name="wallettransaction", + name="stripe_payment_intent_id", + field=models.CharField(blank=True, default="", max_length=200, null=True), + ), + ]