summaryrefslogtreecommitdiff
path: root/fossee_project
diff options
context:
space:
mode:
authorprathamesh2015-04-06 14:19:57 +0530
committerprathamesh2015-04-06 14:19:57 +0530
commitca585020fc9c3574937762b091120cacf3fb6f44 (patch)
treebf819171096d024f1a4ece3d3b70b5c69f802dfc /fossee_project
parent7f2275eee5756ff3c4f54d3679fae164915e1be9 (diff)
downloadcertificate-generator-ca585020fc9c3574937762b091120cacf3fb6f44.tar.gz
certificate-generator-ca585020fc9c3574937762b091120cacf3fb6f44.tar.bz2
certificate-generator-ca585020fc9c3574937762b091120cacf3fb6f44.zip
Certificates for Drupal Mumbai Camp 2015
Implemented certificate generator for Drupal Mumbai Camp. Made changes to the method of QR code generation. - hexadecimal hash is generated. - first few characters of hash are considered as unique key. - If the key is not unique then an additional character is added to the key. - QR code now contains only the link with the key. - the link gets the data of the certificate holder. - in the absence of the QR code scanner, the key and link are provided below the QR code.
Diffstat (limited to 'fossee_project')
-rw-r--r--fossee_project/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fossee_project/settings.py b/fossee_project/settings.py
index 0d0018a..4731d89 100644
--- a/fossee_project/settings.py
+++ b/fossee_project/settings.py
@@ -26,7 +26,7 @@ DEBUG = True
TEMPLATE_DEBUG = True
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = [] #['localhost'] when debug is False
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".