From cf25775b83b509d8df5cd1f53ab4e0c4a63561dc Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Wed, 23 Jan 2013 03:52:11 -0500 Subject: [PATCH] adding ModelForm for --- karmaworld/apps/notes/forms.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 karmaworld/apps/notes/forms.py diff --git a/karmaworld/apps/notes/forms.py b/karmaworld/apps/notes/forms.py new file mode 100644 index 0000000..17ba990 --- /dev/null +++ b/karmaworld/apps/notes/forms.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python +# -*- coding:utf8 -*- +# Copyright (C) 2012 FinalsClub Foundation + +from django.forms import ModelForm + +from karmaworld.apps.notes.models import Note + +class NoteForm(ModelForm): + class Meta: + model = Note + fields = ('name', 'tags', 'desc',) -- 2.25.1