diff options
author | prathamesh | 2014-12-09 17:40:00 +0530 |
---|---|---|
committer | prathamesh | 2014-12-09 17:40:00 +0530 |
commit | 7b927e7e4272b589cf21cf6b3ce6fb89450012a0 (patch) | |
tree | 426523f7e1d6fda1e1cd90bea3abd3d918577b2f | |
parent | 8233efece2f49f7cf91fd84db05474726615fd8e (diff) | |
download | certificate-generator-7b927e7e4272b589cf21cf6b3ce6fb89450012a0.tar.gz certificate-generator-7b927e7e4272b589cf21cf6b3ce6fb89450012a0.tar.bz2 certificate-generator-7b927e7e4272b589cf21cf6b3ce6fb89450012a0.zip |
change in text image and QR code
-rw-r--r-- | certificate/certificate_template/text.png | bin | 7026 -> 7434 bytes | |||
-rw-r--r-- | certificate/views.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/certificate/certificate_template/text.png b/certificate/certificate_template/text.png Binary files differindex 307708b..a07cc2c 100644 --- a/certificate/certificate_template/text.png +++ b/certificate/certificate_template/text.png diff --git a/certificate/views.py b/certificate/views.py index e9324b4..5be6f0f 100644 --- a/certificate/views.py +++ b/certificate/views.py @@ -68,7 +68,7 @@ def download(request): id = int(user.id) hexa = hex(id).replace('0x','').zfill(6).upper() serial_no = '{0}{1}{2}{3}'.format(purpose, year, hexa, type) - qrcode = 'NAME: {0} SERIAL NO: {1}'.format(name, serial_no) + qrcode = 'NAME: {0}; SERIAL-NO: {1}; '.format(name, serial_no) file_name = '{0}{1}'.format(email,id) file_name = file_name.replace('.', '') try: |