Merge branch 'ppt-gdrive' of https://github.com/FinalsClub/karmaworld into ppt-gdrive
[oweals/karmaworld.git] / karmaworld / apps / notes / forms.py
1 #!/usr/bin/env python
2 # -*- coding:utf8 -*-
3 # Copyright (C) 2012  FinalsClub Foundation
4
5 from django.forms import ModelForm
6 from django.forms import TextInput
7
8 from karmaworld.apps.notes.models import Note
9
10 class NoteForm(ModelForm):
11     class Meta:
12         model = Note
13         fields = ('name', 'tags', 'year',)
14         widgets = {
15           'name': TextInput()
16         }