From: Colin Powell Date: Thu, 5 May 2011 05:04:43 +0000 (-0400) Subject: Adding a brief form. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ee7c20eb641d47b9344271fbe38dd8bdaacedda5;p=django-notes.git Adding a brief form. --- diff --git a/notes/forms.py b/notes/forms.py index f9d0e38..424b22e 100644 --- a/notes/forms.py +++ b/notes/forms.py @@ -6,3 +6,7 @@ class NoteForm(ModelForm): model = Note fields=['content', 'markup', 'topic','date', 'public'] +class BriefNoteForm(ModelForm): + class Meta: + model = Note + fields=['content', 'topic']