refactor: move help_text to model definition

This commit is contained in:
Herculino Trotta
2026-02-15 23:22:52 -03:00
parent 0413921dbe
commit c787565c04
3 changed files with 26 additions and 8 deletions
+3 -1
View File
@@ -511,8 +511,10 @@ class UserSettings(models.Model):
verbose_name=_("Start page"),
)
default_account = models.ForeignKey(
"accounts.Account", on_delete=models.SET_NULL,
"accounts.Account",
on_delete=models.SET_NULL,
verbose_name=_("Default account"),
help_text=_("Selects the account by default when creating new transactions"),
blank=True,
null=True,
)