mirror of
https://github.com/bugsink/bugsink.git
synced 2025-12-31 02:10:16 -06:00
12 lines
284 B
Python
12 lines
284 B
Python
from django.forms import ModelForm
|
|
|
|
from .models import TurningPoint
|
|
|
|
|
|
class CommentForm(ModelForm):
|
|
# note that we use about 5% of ModelForm functionality here... but "if it ain't broke don't fix it" :-)
|
|
|
|
class Meta:
|
|
model = TurningPoint
|
|
fields = ['comment']
|