From 06a28e7be88b0f025466d4ab8193c184060b6e69 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 2 Apr 2012 17:04:39 +0200 Subject: dynamic config --- coip/apps/saml2/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'coip') diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index 4b999fb..2727ca2 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -13,10 +13,8 @@ from django.contrib.auth.models import User from django.http import HttpResponse, HttpResponseBadRequest from saml2.config import Config from saml2.metadata import entity_descriptor -from coip.apps.saml2 import conf from saml2.saml import NAME_FORMAT_URI from django.conf import settings -from coip.apps.saml2.conf import CONFIG def _config(request): host = request.get_host() @@ -53,7 +51,7 @@ def _config(request): }, } - return CONFIG().load(c) + return Config().load(c) def _aa_reply(aa, aq, user, sp_entityid): consumer_url = aa.metadata.consumer_url(aq.issuer.text) -- cgit v1.1