Adds quotes
This commit is contained in:
parent
5b7f29c45b
commit
a88cf2b6dd
16 changed files with 190 additions and 7 deletions
|
@ -53,6 +53,17 @@ class CommentForm(ModelForm):
|
|||
}
|
||||
|
||||
|
||||
class QuotationForm(ModelForm):
|
||||
class Meta:
|
||||
model = models.Quotation
|
||||
fields = ['quote', 'content']
|
||||
help_texts = {f: None for f in fields}
|
||||
labels = {
|
||||
'quote': 'Quote',
|
||||
'content': 'Comment',
|
||||
}
|
||||
|
||||
|
||||
class ReplyForm(ModelForm):
|
||||
class Meta:
|
||||
model = models.Status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue