fix: changing startpage to networth breaks homepage

This commit is contained in:
Herculino Trotta
2025-02-02 00:04:45 -03:00
parent 9705441e2d
commit 757f6647da
3 changed files with 24 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.1.5 on 2025-02-02 02:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0017_usersettings_number_format'),
]
operations = [
migrations.AlterField(
model_name='usersettings',
name='start_page',
field=models.CharField(choices=[('MONTHLY_OVERVIEW', 'Monthly'), ('YEARLY_OVERVIEW_CURRENCY', 'Yearly by currency'), ('YEARLY_OVERVIEW_ACCOUNT', 'Yearly by account'), ('NETWORTH_CURRENT', 'Current Net Worth'), ('NETWORTH_PROJECTED', 'Projected Net Worth'), ('ALL_TRANSACTIONS', 'All Transactions'), ('CALENDAR', 'Calendar')], default='MONTHLY_OVERVIEW', max_length=255, verbose_name='Start page'),
),
]