Fixes: 1) Validate gateway presence in `process_transaction_changes` signal; 2) Add missing imports for `Type`, `create_object`, and `AbstractGateway`; Extra: 1) Cleanup unused diff lines in migrations files; 2) Improve JSONField, FloatField, and PositiveIntegerField declarations by consolidating into single lines; 3) Remove redundant match-case logic in `signals.py`.
21 lines
601 B
Python
21 lines
601 B
Python
# Generated by Django 5.2 on 2025-10-21 09:24
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("blog", "0006_post_meta_description_post_meta_description_ar_ar_and_more"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="post",
|
|
name="is_static_page",
|
|
field=models.BooleanField(
|
|
default=False,
|
|
help_text="is this a post for a page with static URL (e.g. `/help/delivery`)?",
|
|
verbose_name="is static page",
|
|
),
|
|
),
|
|
]
|