Fixed minor typos

This commit is contained in:
JKuijperM 2026-07-29 15:14:14 +02:00
parent 4e03c65c07
commit 4ad2b59a1c
3 changed files with 5 additions and 7 deletions

View File

@ -122,15 +122,15 @@ class GoalForm(forms.ModelForm):
class Meta: class Meta:
model = Goal model = Goal
fields = [ fields = [
'name', "name",
'kind', "kind",
'target_amount', "target_amount",
'category', "category",
"include_subcategories", "include_subcategories",
"account", "account",
"start_date", "start_date",
"period", "period",
"show_on_home" "show_on_home",
] ]
widgets = { widgets = {
"start_date": forms.DateInput( "start_date": forms.DateInput(

View File

@ -5,7 +5,6 @@ from django.conf import settings
from django.db.models import Sum from django.db.models import Sum
from functools import cached_property from functools import cached_property
from django.utils.text import slugify from django.utils.text import slugify
from django.db.models.fields import related
from django.db.models.functions import ExtractMonth from django.db.models.functions import ExtractMonth

View File

@ -237,7 +237,6 @@ def expense_create(request):
@login_required @login_required
def expense_edit(request, pk): def expense_edit(request, pk):
# sourcery skip: assign-if-exp, merge-else-if-into-elif
expense = get_object_or_404( expense = get_object_or_404(
Expense, Expense,
pk=pk, pk=pk,