Files
mayan-edms/mayan/apps/document_comments/forms.py
2015-03-30 03:43:56 -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:
fields = ('comment',)
model = Comment