summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFOSSEE2016-08-04 16:35:37 +0530
committerFOSSEE2016-08-04 16:35:37 +0530
commit18d1f13afe461456ced467f8c49231f12521a16b (patch)
tree4e0db09898423080c62a0c58c858152ba2abdac3
parent0f6aee843ae947ef8655b8f3e6dc22bee9084a45 (diff)
downloadcertificate-generator-18d1f13afe461456ced467f8c49231f12521a16b.tar.gz
certificate-generator-18d1f13afe461456ced467f8c49231f12521a16b.tar.bz2
certificate-generator-18d1f13afe461456ced467f8c49231f12521a16b.zip
QR code
-rwxr-xr-xcertificate/models.py4
-rwxr-xr-xcertificate/views.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/certificate/models.py b/certificate/models.py
index 5a28e04..723e02e 100755
--- a/certificate/models.py
+++ b/certificate/models.py
@@ -13,7 +13,7 @@ events = (
('FIC', 'Fossee Internship'),
('OWS', 'Osdag Workshop'),
('EWS', 'eSim Workshop'),
- ('DWS', 'Drupal Workshop'),
+ ('DRP', 'Drupal Workshop'),
)
class Profile(models.Model):
@@ -162,7 +162,7 @@ class Osdag_WS(models.Model):
class Drupal_WS(models.Model):
name = models.CharField(max_length=200)
email = models.EmailField()
- purpose = models.CharField(max_length=10, default='DWS')
+ purpose = models.CharField(max_length=10, default='DRP')
class eSim_WS(models.Model):
name = models.CharField(max_length=200)
diff --git a/certificate/views.py b/certificate/views.py
index 4149c32..ede1dfd 100755
--- a/certificate/views.py
+++ b/certificate/views.py
@@ -252,7 +252,7 @@ def _get_detail(serial_no):
purpose = 'eSim Faculty Meet'
elif serial_no[0:3] == 'OWS':
purpose = 'Osdag Workshop'
- elif serial_no[0:3] == 'DWS':
+ elif serial_no[0:3] == 'DRP':
purpose = 'Drupal Workshop'
elif serial_no[0:3] == 'EWS':
purpose = 'eSim Workshop'