1. Kevin Wetzels
  2. django-stdfields

Commits

Kevin Wetzels  committed 3d6549c

Correct typo in README: ModelForm instead of Form

  • Participants
  • Parent commits 79bd881
  • Branches default

Comments (0)

Files changed (1)

File README.rst

View file
  • Ignore whitespace
     
     from models import Task
     
-    class TaskForm(forms.Form):
+    class TaskForm(forms.ModelForm):
         time_spent = MinutesField(label='How long did it take?')
         
         class Meta: