增加今天信息模块的功能

This commit is contained in:
2026-01-07 22:11:07 +08:00
parent b7c69af754
commit 0982067171
9 changed files with 241 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ class InsightRecordForm(forms.ModelForm):
model = InsightRecord
fields = ['content', 'file']
widgets = {
'content': forms.Textarea(attrs={'class': 'form-control', 'rows': 5, 'placeholder': '请输入今日感悟'}),
'content': forms.Textarea(attrs={'class': 'form-control', 'rows': 5, 'placeholder': '请输入感悟'}),
'file': forms.FileInput(attrs={'class': 'form-control'}),
}