From 392789811606761de500495c4798f33bcbba7830 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Fri, 19 Feb 2021 14:15:23 +0100 Subject: [PATCH] python 3.5 compatibility --- basetheme_bootstrap/views.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basetheme_bootstrap/views.py b/basetheme_bootstrap/views.py index 19db174..d4c6a74 100644 --- a/basetheme_bootstrap/views.py +++ b/basetheme_bootstrap/views.py @@ -126,7 +126,7 @@ def send_account_created(request, user, auto_active=False, next_page=None): 'token': tokens.account_activation_token.make_token(user) }) if next_page: - activation_link += f"?next={next_page}" + activation_link += "?next=" + next_page if auto_active: message = ugettext( 'Dear %(first_name)s %(last_name)s\n\n' diff --git a/setup.py b/setup.py index 66864a2..7ed1d89 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.54', + version='0.2.55', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte', -- GitLab