diff options
author | FOSSEE | 2016-08-04 16:35:37 +0530 |
---|---|---|
committer | FOSSEE | 2016-08-04 16:35:37 +0530 |
commit | 18d1f13afe461456ced467f8c49231f12521a16b (patch) | |
tree | 4e0db09898423080c62a0c58c858152ba2abdac3 | |
parent | 0f6aee843ae947ef8655b8f3e6dc22bee9084a45 (diff) | |
download | certificate-generator-18d1f13afe461456ced467f8c49231f12521a16b.tar.gz certificate-generator-18d1f13afe461456ced467f8c49231f12521a16b.tar.bz2 certificate-generator-18d1f13afe461456ced467f8c49231f12521a16b.zip |
QR code
-rwxr-xr-x | certificate/models.py | 4 | ||||
-rwxr-xr-x | certificate/views.py | 2 |
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' |