summaryrefslogtreecommitdiffstats
path: root/welco/qualif/models.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2015-09-21 12:19:04 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2015-09-30 08:46:54 (GMT)
commit6f50851eb39b56ae74779be408153c74c9ae5d1f (patch)
treefcd0e113e8d43418141e8232bfd877a8ac9401eb /welco/qualif/models.py
parent6733f396cb087361b29fa1af6fecc7e24795d193 (diff)
downloadwelco-6f50851eb39b56ae74779be408153c74c9ae5d1f.zip
welco-6f50851eb39b56ae74779be408153c74c9ae5d1f.tar.gz
welco-6f50851eb39b56ae74779be408153c74c9ae5d1f.tar.bz2
general: add comments field to qualification
Diffstat (limited to 'welco/qualif/models.py')
-rw-r--r--welco/qualif/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/welco/qualif/models.py b/welco/qualif/models.py
index e689170..22e4093 100644
--- a/welco/qualif/models.py
+++ b/welco/qualif/models.py
@@ -19,6 +19,7 @@ from django.contrib.contenttypes import generic
from django.db import models
from django.db.models.signals import post_save
from django.dispatch import receiver
+from django.utils.translation import ugettext_lazy as _
from welco.utils import get_wcs_formdef_details, push_wcs_formdata
@@ -40,6 +41,7 @@ class Association(models.Model):
source_pk = models.PositiveIntegerField()
source = generic.GenericForeignKey('source_type', 'source_pk')
triaged = models.BooleanField(default=False)
+ comments = models.TextField(blank=True, verbose_name=_('Comments'))
formdefs = models.ManyToManyField(FormdefReference)
formdatas = models.ManyToManyField(FormdataReference)