Hello community,
here is the log from the commit of package python-social-auth-app-django for openSUSE:Factory checked in at 2019-04-11 12:17:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-social-auth-app-django (Old)
and /work/SRC/openSUSE:Factory/.python-social-auth-app-django.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-social-auth-app-django"
Thu Apr 11 12:17:39 2019 rev:3 rq:693002 version:3.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-social-auth-app-django/python-social-auth-app-django.changes 2018-12-03 10:12:40.215582379 +0100
+++ /work/SRC/openSUSE:Factory/.python-social-auth-app-django.new.27019/python-social-auth-app-django.changes 2019-04-11 12:17:42.228947645 +0200
@@ -1,0 +2,5 @@
+Wed Apr 10 13:42:21 UTC 2019 - John Vandenberg
From f8d674d9ac2da7683ff902a58d514ea5d1eb5b7b Mon Sep 17 00:00:00 2001 From: John Vandenberg
Date: Wed, 10 Apr 2019 20:08:38 +0700 Subject: [PATCH] Fix render_html on Django 2.2
Update render_html to also catch TypeError. Fixes https://github.com/python-social-auth/social-app-django/issues/196 --- social_django/strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/social_django/strategy.py b/social_django/strategy.py index 1a3a820a..b706afb4 100644 --- a/social_django/strategy.py +++ b/social_django/strategy.py @@ -97,7 +97,7 @@ def render_html(self, tpl=None, html=None, context=None): try: template = loader.get_template(tpl) return template.render(context=context, request=self.request) - except TemplateDoesNotExist: + except (TypeError, TemplateDoesNotExist): return render_template_string(self.request, html, context) def authenticate(self, backend, *args, **kwargs):