summaryrefslogtreecommitdiffstats
path: root/welco/qualif/models.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2015-09-21 14:17:50 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2015-09-30 08:46:55 (GMT)
commit52a09b6d1a56e60c14a0da1ef92866a40e983be3 (patch)
tree37b4518b8a4ac00ce41a81f5d013de236d7c3ab1 /welco/qualif/models.py
parent54818b94a2efbb12bd6dd9968b47b0b9a2f2b008 (diff)
downloadwelco-52a09b6d1a56e60c14a0da1ef92866a40e983be3.zip
welco-52a09b6d1a56e60c14a0da1ef92866a40e983be3.tar.gz
welco-52a09b6d1a56e60c14a0da1ef92866a40e983be3.tar.bz2
misc: push details about submission context to wcs (#7951)
Diffstat (limited to 'welco/qualif/models.py')
-rw-r--r--welco/qualif/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/welco/qualif/models.py b/welco/qualif/models.py
index 22e4093..1f20121 100644
--- a/welco/qualif/models.py
+++ b/welco/qualif/models.py
@@ -49,10 +49,10 @@ class Association(models.Model):
# +avis a (roles or users?)
# +info a (roles or users?)
- def push(self, request):
+ def push(self, request, context):
# push validated request to wcs
for formdef in self.formdefs.all():
- formdata_id = push_wcs_formdata(request, formdef.reference)
+ formdata_id = push_wcs_formdata(request, formdef.reference, context)
reference = '%s:%s' % (formdef.reference, formdata_id)
formdata_reference = FormdataReference(reference=reference)
formdata_reference.save()