diff options
author | hardythe1 | 2014-04-11 14:19:11 +0530 |
---|---|---|
committer | hardythe1 | 2014-04-11 14:19:11 +0530 |
commit | e649da4fc32197a96aad16db2ff221b2ce7716ea (patch) | |
tree | 5f5469cf3399d99f6463e912df5797286f592d97 /tbc/views.py | |
parent | d3b51b8b41478e42c441403d6a72a3e32be19e1e (diff) | |
download | Python-TBC-Interface-e649da4fc32197a96aad16db2ff221b2ce7716ea.tar.gz Python-TBC-Interface-e649da4fc32197a96aad16db2ff221b2ce7716ea.tar.bz2 Python-TBC-Interface-e649da4fc32197a96aad16db2ff221b2ce7716ea.zip |
editing the message to the user
Diffstat (limited to 'tbc/views.py')
-rwxr-xr-x | tbc/views.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tbc/views.py b/tbc/views.py index 12be768..fd8fed3 100755 --- a/tbc/views.py +++ b/tbc/views.py @@ -205,13 +205,13 @@ def ForgotPassword(request): user.set_password(password) user.save() subject = "PythonTBC: Password Reset" - message = "Dear "+user.first_name+",\n"+ - "Your password for PythonTBC interface has been reset."+ - "Your credentials are:\n"+ - "Username: "+user.username+ - "\nPassword: "+password+ - "\n\nKindly login with the given password and update your password through the below given link."+ - "\nLink: http://tbc-python.fossee.in/update-password."+ + message = "Dear "+user.first_name+",\n"+\ + "Your password for PythonTBC interface has been reset."+\ + "Your credentials are:\n"+\ + "Username: "+user.username+\ + "\nPassword: "+password+\ + "\n\nKindly login with the given password and update your password through the below given link."+\ + "\nLink: http://tbc-python.fossee.in/update-password."+\ "\n\nThank You !" email_send(email, subject, message) form = UserLoginForm() |