Skip to content

Commit 36c241d

Browse files
committed
v0.7.5.2
Removing swappable model references from migrations.
1 parent ced8214 commit 36c241d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

django_ledger/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
default_app_config = 'django_ledger.apps.DjangoLedgerConfig'
77

88
"""Django Ledger"""
9-
__version__ = '0.7.5.1'
9+
__version__ = '0.7.5.2'
1010
__license__ = 'GPLv3 License'
1111

1212
__author__ = 'Miguel Sanda'

django_ledger/migrations/0021_alter_bankaccountmodel_account_model_and_more.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Generated by Django 5.1.6 on 2025-02-18 22:47
22

33
import django.db.models.deletion
4-
from django.conf import settings
54
from django.db import migrations, models
65

76

@@ -17,7 +16,7 @@ class Migration(migrations.Migration):
1716
field=models.ForeignKey(
1817
help_text='Account model be used to map transactions from financial institution',
1918
on_delete=django.db.models.deletion.RESTRICT,
20-
to=settings.DJANGO_LEDGER_ACCOUNT_MODEL,
19+
to='django_ledger.AccountModel',
2120
verbose_name='Associated Account Model'
2221
),
2322
),
@@ -26,7 +25,7 @@ class Migration(migrations.Migration):
2625
name='bank_account_model',
2726
field=models.ForeignKey(
2827
on_delete=django.db.models.deletion.CASCADE,
29-
to=settings.DJANGO_LEDGER_BANK_ACCOUNT_MODEL,
28+
to='django_ledger.BankAccountModel',
3029
verbose_name='Associated Bank Account Model'
3130
),
3231
),

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "django-ledger"
3-
version = "0.7.5.1"
3+
version = "0.7.5.2"
44
readme = "README.md"
55
requires-python = ">=3.10"
66
description = "Double entry accounting system built on the Django Web Framework."

0 commit comments

Comments
 (0)