kumify/cbt/forms.py

8 lines
200 B
Python

from django.forms import ModelForm
from .models import ThoughtRecord
class ThoughtRecordStepOneForm(ModelForm):
class Meta:
model = ThoughtRecord
fields = ["title", "situation"]