Ready for production deployment

This commit is contained in:
Lyxminxx committed 2026-09-20 00:39:02 +02:00
commit e06c56e76e
23 files changed
+664

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
from django import forms
from .models import Transaction
class TransactionForm(forms.ModelForm):
class Meta:
model = Transaction
fields = ['title', 'amount', 'category', 'date']
# This widget forces the browser to show a date picker calendar
widgets = {
'date': forms.DateInput(attrs={'type': 'date'}),
}