Source

django-pim / projects / forms.py

Full commit
from django import forms
from projects.models import Project, Goal, Note

class ProjectForm(forms.ModelForm):
    class Meta:
        model = Project
        fields = ('title','description',)

class GoalForm(forms.ModelForm):
    class Meta:
        model = Goal
        fields = ('title', 'due_on', 'description',)

class NoteForm(forms.ModelForm):
    class Meta:
        model = Note
        fields = ('title', 'description',)