summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-04-01 13:25:37 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-04-01 13:25:37 (GMT)
commit93f2b20a2af5798d78d1f13e70a797f9d633ab01 (patch)
treeae83d50e04005b9ac29f47384a03b09388c12a69
parentf992129ede6f079aea045ecab2669857265ca332 (diff)
downloadpasserelle-grandlyon-cartads-cs-93f2b20a2af5798d78d1f13e70a797f9d633ab01.zip
passerelle-grandlyon-cartads-cs-93f2b20a2af5798d78d1f13e70a797f9d633ab01.tar.gz
passerelle-grandlyon-cartads-cs-93f2b20a2af5798d78d1f13e70a797f9d633ab01.tar.bz2
misc: don't alter wsdl files as they are not served by cartads
-rw-r--r--grandlyon_cartads_cs/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/grandlyon_cartads_cs/models.py b/grandlyon_cartads_cs/models.py
index 27dc867..f513065 100644
--- a/grandlyon_cartads_cs/models.py
+++ b/grandlyon_cartads_cs/models.py
@@ -46,6 +46,11 @@ class GLCartaDSCS(AbstractCartaDSCS):
class Meta:
verbose_name = 'Cart@DS CS (@ Grand Lyon)'
+ def soap_client(self, **kwargs):
+ # use original BaseResource soap_client as cart@ds wsdl files cannot be
+ # served directly and have to be copied to a different server :/
+ return super(AbstractCartaDSCS, self).soap_client(**kwargs)
+
def get_api_manager_token(self, renew=False):
cache_key = 'cartads-%s-token' % self.id
if not renew: