+
{% endblock %}
-
\ No newline at end of file
+
diff --git a/example_sp/djangosaml2_sp/saml2_sp/views.py b/example_sp/djangosaml2_sp/saml2_sp/views.py
index e60afccd..5b0f6fe6 100644
--- a/example_sp/djangosaml2_sp/saml2_sp/views.py
+++ b/example_sp/djangosaml2_sp/saml2_sp/views.py
@@ -47,16 +47,18 @@
def index(request):
""" Barebone 'diagnostics' view, print user attributes if logged in + login/logout links.
"""
- return render(request,"base.html",context)
+ return render(request, "base.html", context)
+
def amministrazione(request):
- return render(request,"amministrazione.html",context)
+ return render(request, "amministrazione.html", context)
+
def echo_attributes(request):
- context['attribute_display_names']=attribute_display_names
- return render(request,"echo_attributes.html",context)
+ context['attribute_display_names'] = attribute_display_names
+ return render(request, "echo_attributes.html", context)
+
-# TODO fix this in IdP side?
@receiver(pre_user_save, sender=User)
def custom_update_user(sender, instance, attributes, user_modified, **kargs):
""" Default behaviour does not play nice with booleans encoded in SAML as u'true'/u'false'.
@@ -66,4 +68,4 @@ def custom_update_user(sender, instance, attributes, user_modified, **kargs):
u = set.intersection(set(v), set([u'true', u'false']))
if u:
setattr(instance, k, u.pop() == u'true')
- return True # I modified the user object
+ return True
diff --git a/gallery/disco.png b/gallery/disco.png
deleted file mode 100644
index b9a0e0ed..00000000
Binary files a/gallery/disco.png and /dev/null differ
diff --git a/gallery/disco_page.png b/gallery/disco_page.png
new file mode 100644
index 00000000..ad1bc05d
Binary files /dev/null and b/gallery/disco_page.png differ
diff --git a/gallery/djangosaml2_sp.png b/gallery/djangosaml2_sp.png
new file mode 100644
index 00000000..5b8c413e
Binary files /dev/null and b/gallery/djangosaml2_sp.png differ
diff --git a/gallery/docker_container.png b/gallery/docker_container.png
new file mode 100644
index 00000000..12cb7b04
Binary files /dev/null and b/gallery/docker_container.png differ
diff --git a/gallery/wallet-demo.gif b/gallery/wallet-demo.gif
new file mode 100644
index 00000000..3169e629
Binary files /dev/null and b/gallery/wallet-demo.gif differ