Added comment app with support for adding and deleting comments to and from documents

This commit is contained in:
Roberto Rosario
2011-05-01 04:40:42 -04:00
parent 3261bb08b1
commit 9cebfc978b
12 changed files with 297 additions and 2 deletions

11
apps/comments/forms.py Normal file
View File

@@ -0,0 +1,11 @@
from django import forms
from django.contrib.comments.models import Comment
class CommentForm(forms.ModelForm):
"""
A standard model form to allow users to post a comment
"""
class Meta:
model = Comment
fields = ('comment',)