mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-14 10:51:21 +01:00
Add default value for KBItem vote and positive vote
This commit is contained in:
parent
d6602e96d7
commit
5b47370ec6
@ -806,11 +806,13 @@ class KBItem(models.Model):
|
||||
votes = models.IntegerField(
|
||||
_('Votes'),
|
||||
help_text=_('Total number of votes cast for this item'),
|
||||
default=0,
|
||||
)
|
||||
|
||||
recommendations = models.IntegerField(
|
||||
_('Positive Votes'),
|
||||
help_text=_('Number of votes for this item which were POSITIVE.'),
|
||||
default=0,
|
||||
)
|
||||
|
||||
last_updated = models.DateTimeField(
|
||||
|
Loading…
Reference in New Issue
Block a user