summaryrefslogtreecommitdiff
path: root/certificate/models.py
diff options
context:
space:
mode:
authorprathamesh2014-12-10 17:46:39 +0530
committerprathamesh2014-12-10 17:46:39 +0530
commit7f2275eee5756ff3c4f54d3679fae164915e1be9 (patch)
tree3384416620c7a1ad091dc577f48311c1ae9b8140 /certificate/models.py
parent5585b91022a0e035e2b689e2f6443263b89795d7 (diff)
downloadcertificate-generator-7f2275eee5756ff3c4f54d3679fae164915e1be9.tar.gz
certificate-generator-7f2275eee5756ff3c4f54d3679fae164915e1be9.tar.bz2
certificate-generator-7f2275eee5756ff3c4f54d3679fae164915e1be9.zip
Interface to take SciPy India Conference feedback and
give certificates.
Diffstat (limited to 'certificate/models.py')
-rw-r--r--certificate/models.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/certificate/models.py b/certificate/models.py
index 672837e..3974bde 100644
--- a/certificate/models.py
+++ b/certificate/models.py
@@ -90,3 +90,20 @@ class Question(models.Model):
class Answer(models.Model):
question = models.ForeignKey(Question)
answer = models.CharField(max_length=1000)
+
+
+class Scipy_participant(models.Model):
+ id = models.IntegerField(primary_key=True, null=False)
+ 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='SPC')
+ attendance = models.BooleanField(default=False)
+
+
+class Scipy_speaker(models.Model):
+ id = models.IntegerField(default=0, null=False, primary_key=True, blank=False)
+ 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='SPC')
+ attendance = models.BooleanField(default=False)