X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fforms.py;h=0ede402fac0f290dfd5f8e439aea581d564bfd1d;hb=29a9340139de5dc9537985c0fefa145b0b1c2afd;hp=e5087d8a2ff7e81d2664ab7084fbf11e4224af08;hpb=135139e3638f53dab4643f249403870297e62412;p=unfold.git diff --git a/portal/forms.py b/portal/forms.py index e5087d8a..0ede402f 100644 --- a/portal/forms.py +++ b/portal/forms.py @@ -21,6 +21,8 @@ # this program; see the file COPYING. If not, write to the Free Software # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +from __future__ import print_function + from django import forms from portal.models import PendingUser, PendingSlice #from crispy_forms.helper import FormHelper @@ -206,7 +208,7 @@ class PasswordResetForm(forms.Form): email = loader.render_to_string(email_template_name, c) send_mail(subject, email, from_email, [user.email]) except Exception, e: - print "Failed to send email, please check the mail templates and the SMTP configuration of your server" + print("Failed to send email, please check the mail templates and the SMTP configuration of your server") class SetPasswordForm(forms.Form):