kumify/cbt/forms.py

9 lines
200 B
Python
Raw Permalink Normal View History

2020-12-31 21:18:39 +00:00
from django.forms import ModelForm
from .models import ThoughtRecord
class ThoughtRecordStepOneForm(ModelForm):
class Meta:
model = ThoughtRecord
fields = ["title", "situation"]