summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashant2016-03-17 12:09:57 +0530
committerprashant2016-03-17 12:09:57 +0530
commit13718f43bf1c9aa1ce39bf7d234371106da92851 (patch)
treea8f56b0fd75e0b02aead8c6fe63a2bf3b043af4f
parentbc17ecba487c8a959bcea0277e871f808325c180 (diff)
downloadcertificate-generator-13718f43bf1c9aa1ce39bf7d234371106da92851.tar.gz
certificate-generator-13718f43bf1c9aa1ce39bf7d234371106da92851.tar.bz2
certificate-generator-13718f43bf1c9aa1ce39bf7d234371106da92851.zip
added models missed in PR for fossee intership
-rwxr-xr-x[-rw-r--r--]certificate/models.py19
1 files changed, 16 insertions, 3 deletions
diff --git a/certificate/models.py b/certificate/models.py
index bdf15e2..2337e37 100644..100755
--- a/certificate/models.py
+++ b/certificate/models.py
@@ -9,7 +9,8 @@ events = (
('STC', 'Scilab Textbook Companion'),
('DCM', 'DrupalCamp Mumbai'),
('FET', 'FreeEda Textbook Companion'),
- ('OFSC', 'OpenFOAM Symposium'),
+ ('OFC', 'OpenFOAM Symposium'),
+ ('FIC', 'Fossee Internship'),
)
class Profile(models.Model):
@@ -167,11 +168,23 @@ class Scipy_speaker_2015(models.Model):
class OpenFOAM_Symposium_participant_2016(models.Model):
name = models.CharField(max_length=50, null=True, blank=True)
email = models.CharField(max_length=50, null=True, blank=True)
- purpose = models.CharField(max_length=10, default='OFSC')
+ purpose = models.CharField(max_length=10, default='OFC')
class OpenFOAM_Symposium_speaker_2016(models.Model):
name = models.CharField(max_length=300)
email = models.CharField(max_length=300)
paper = models.CharField(max_length=300)
- purpose = models.CharField(max_length=10, default='OFSC')
+ purpose = models.CharField(max_length=10, default='OFC')
+
+
+class Internship_participant(models.Model):
+ name = models.CharField(max_length=200)
+ email = models.EmailField()
+ student_edu_detail = models.CharField(max_length=1000, null=True, blank=True)
+ student_institute_detail = models.CharField(max_length=2000, null=True, blank=True)
+ superviser_name_detail = models.CharField(max_length=2000, null=True, blank=True)
+ 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')
+