diff options
author | prathamesh | 2015-02-20 13:36:54 +0530 |
---|---|---|
committer | prathamesh | 2015-02-20 13:36:54 +0530 |
commit | fe62379da948244ceeb94089bde0a839603f5266 (patch) | |
tree | facf65429449a99a5bbbdff3b8ebdd11310a27a3 | |
parent | 9c3c51ae31a7a3a4cfb56c63db09f51f5bf0ab83 (diff) | |
download | Python-TBC-Interface-fe62379da948244ceeb94089bde0a839603f5266.tar.gz Python-TBC-Interface-fe62379da948244ceeb94089bde0a839603f5266.tar.bz2 Python-TBC-Interface-fe62379da948244ceeb94089bde0a839603f5266.zip |
Modified the content of the certificate in views.
-rwxr-xr-x | tbc/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbc/views.py b/tbc/views.py index 2c47593..881096c 100755 --- a/tbc/views.py +++ b/tbc/views.py @@ -1187,8 +1187,8 @@ def GetCertificate(request, book_id=None): else: pronoun = 'He' full_name = '%s %s' %(user.first_name, user.last_name) - user_details = '%s, %s at %s' % (course, department, institute) - book_details = '%s, %s' % (title, edition) + user_details = 'from %s' % (institute) + book_details = '%s, %s edition' % (title, edition) try: template_file = open('{0}template_certificate'.format\ (certificate_path), 'r') |