Files
mayan-edms/mayan/apps/document_comments/forms.py

15 lines
278 B
Python

from __future__ import unicode_literals
from django import forms
from .models import Comment
class CommentForm(forms.ModelForm):
"""
A standard model form to allow users to post a comment
"""
class Meta:
fields = ('comment',)
model = Comment