Files
mayan-edms/mayan/apps/document_comments/forms.py
2015-01-19 04:06:40 -04:00

14 lines
300 B
Python

from __future__ import unicode_literals
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',)