From 5121ccac89f3477451fbf2cfaedb623020dbd053 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 16 Dec 2015 00:07:34 +0530 Subject: SciPy India 2015 certificate implementation --- certificate/models.py | 13 ++ certificate/templates/index.html | 1 + certificate/templates/scipy_download_2015.html | 68 ++++++++++ certificate/templates/scipy_feedback_2015.html | 26 ++++ certificate/urls.py | 2 + certificate/views.py | 169 ++++++++++++++++++++++++- 6 files changed, 278 insertions(+), 1 deletion(-) create mode 100644 certificate/templates/scipy_download_2015.html create mode 100644 certificate/templates/scipy_feedback_2015.html diff --git a/certificate/models.py b/certificate/models.py index 0d382d3..c558d96 100644 --- a/certificate/models.py +++ b/certificate/models.py @@ -148,3 +148,16 @@ class Esim_faculty(models.Model): name = models.CharField(max_length=200) email = models.EmailField() purpose = models.CharField(max_length=10, default='ESM') + + +class Scipy_participant_2015(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='SPC') + + +class Scipy_speaker_2015(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='SPC') diff --git a/certificate/templates/index.html b/certificate/templates/index.html index bed74b5..49669d1 100644 --- a/certificate/templates/index.html +++ b/certificate/templates/index.html @@ -7,6 +7,7 @@

Below links will take you to a feedback form.
Please fill the feedback form and download your e-certificate.