summaryrefslogtreecommitdiff
path: root/certificate/models.py
diff options
context:
space:
mode:
authorFOSSEE2016-05-30 14:02:41 +0530
committerFOSSEE2016-05-30 14:02:41 +0530
commitd1b6559b21d5bba3d533d1eecc0c3cc282e36601 (patch)
tree28454aa01c02eb3a1b2233de4cf7d35581b93561 /certificate/models.py
parent0e14dbf6eccc17691b27377d9a066fcb9ec256bf (diff)
downloadcertificate-generator-d1b6559b21d5bba3d533d1eecc0c3cc282e36601.tar.gz
certificate-generator-d1b6559b21d5bba3d533d1eecc0c3cc282e36601.tar.bz2
certificate-generator-d1b6559b21d5bba3d533d1eecc0c3cc282e36601.zip
Osdag prelaunch certificates implemented
Diffstat (limited to 'certificate/models.py')
-rwxr-xr-xcertificate/models.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/certificate/models.py b/certificate/models.py
index 2337e37..667d4b9 100755
--- a/certificate/models.py
+++ b/certificate/models.py
@@ -9,8 +9,9 @@ events = (
('STC', 'Scilab Textbook Companion'),
('DCM', 'DrupalCamp Mumbai'),
('FET', 'FreeEda Textbook Companion'),
- ('OFC', 'OpenFOAM Symposium'),
- ('FIC', 'Fossee Internship'),
+ ('OFC', 'OpenFOAM Symposium'),
+ ('FIC', 'Fossee Internship'),
+ ('OWS', 'Osdag Workshop')
)
class Profile(models.Model):
@@ -151,6 +152,10 @@ class Esim_faculty(models.Model):
email = models.EmailField()
purpose = models.CharField(max_length=10, default='ESM')
+class Osdag_WS(models.Model):
+ name = models.CharField(max_length=200)
+ email = models.EmailField()
+ purpose = models.CharField(max_length=10, default='OWS')
class Scipy_participant_2015(models.Model):
name = models.CharField(max_length=50, null=True, blank=True)
@@ -187,4 +192,4 @@ class Internship_participant(models.Model):
project_title = models.CharField(max_length=1000)
internship_project_duration = models.CharField(max_length=500, null=True, blank=True)
purpose = models.CharField(max_length=10, default='FIC')
-
+ # year = models.CharField(max_length = 4)