From 2f8dc25ab8721030b0e60a5e281141f864f22a28 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Thu, 7 May 2015 17:32:50 +0200 Subject: [PATCH] Registration removed logs --- portal/registrationview.py | 2 -- portal/templates/_authority_notListed.html | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 portal/templates/_authority_notListed.html diff --git a/portal/registrationview.py b/portal/registrationview.py index 61e56e4b..47fcd053 100644 --- a/portal/registrationview.py +++ b/portal/registrationview.py @@ -45,7 +45,6 @@ class RegistrationView (FreeAccessView, ThemeView): # REGISTRY ONLY TO BE REMOVED WITH MANIFOLD-V2 authorities_query = Query.get('authority').select('name', 'authority_hrn') authorities = execute_admin_query(wsgi_request, authorities_query) - logger.info("RegistrationView authorities = {}".format(authorities)) if authorities is not None: # Remove the root authority from the list matching = [s for s in authorities if "." in s['authority_hrn']] @@ -73,7 +72,6 @@ class RegistrationView (FreeAccessView, ThemeView): current_site = 'http://' current_site += wsgi_request.META['HTTP_HOST'] - logger.debug("############ BREAKPOINT 3 #################") post_email = wsgi_request.POST.get('email','').lower() salt = randint(1,100000) diff --git a/portal/templates/_authority_notListed.html b/portal/templates/_authority_notListed.html new file mode 100644 index 00000000..3b194b62 --- /dev/null +++ b/portal/templates/_authority_notListed.html @@ -0,0 +1 @@ +

If your organization is not listed, Contact us.

-- 2.43.0