diff options
Diffstat (limited to 'certificate')
-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' |