summaryrefslogtreecommitdiffstats
path: root/welco/qualif/models.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-03-28 15:13:11 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-03-28 15:13:11 (GMT)
commite8bf6cbceefc6b6011653a89277b621cffca997e (patch)
treea4bfd9a28bc1a683e587955df1f65552394e4b40 /welco/qualif/models.py
parent5febf9d8dc7709d8f5f5f3d8f551f9315f5a2cad (diff)
downloadwelco-e8bf6cbceefc6b6011653a89277b621cffca997e.zip
welco-e8bf6cbceefc6b6011653a89277b621cffca997e.tar.gz
welco-e8bf6cbceefc6b6011653a89277b621cffca997e.tar.bz2
misc: send mail post date in submission context (#10459)
Diffstat (limited to 'welco/qualif/models.py')
-rw-r--r--welco/qualif/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/welco/qualif/models.py b/welco/qualif/models.py
index 58339f5..200ae48 100644
--- a/welco/qualif/models.py
+++ b/welco/qualif/models.py
@@ -36,10 +36,10 @@ class Association(models.Model):
context = {}
if self.source.contact_id:
context['user_id'] = self.source.contact_id
- context['channel'] = self.source._meta.app_label
context['summary_url'] = request.build_absolute_uri(
reverse('wcs-summary', kwargs={'source_type': self.source_type_id,
'source_pk': self.source_pk}))
+ context.update(self.source.get_source_context(request))
self.formdata_id = push_wcs_formdata(request, self.formdef_reference, context)
self.save()