summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: