Initial changes to support the new Django 1.6 project structure
This commit is contained in:
11
mayan/apps/document_comments/forms.py
Normal file
11
mayan/apps/document_comments/forms.py
Normal 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',)
|
||||
Reference in New Issue
Block a user