summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/website/bootstrap-css/assets/css/main.css42
-rw-r--r--static/website/bootstrap-css/assets/images/SciPy2018_thmb.pngbin37576 -> 0 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/SciPy2019_pstr.pngbin0 -> 1986819 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/SciPy2019_thmb.pngbin0 -> 62206 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-1.jpgbin1089694 -> 13991305 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-10.jpgbin4904185 -> 10861872 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-11.jpgbin0 -> 11999555 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-12.jpgbin0 -> 11949584 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-2.jpgbin1019693 -> 13907352 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-3.jpgbin1134183 -> 14119782 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-4.jpgbin732897 -> 7781769 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-5.jpgbin785627 -> 12245547 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-6.jpgbin1144514 -> 9354569 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-7.jpgbin949552 -> 11575606 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-8.jpgbin723817 -> 9782160 bytes
-rw-r--r--static/website/bootstrap-css/assets/images/photos/photos-9.jpgbin619467 -> 13229002 bytes
-rwxr-xr-xstatic/website/templates/cfp.html44
-rw-r--r--static/website/templates/footer.html8
-rw-r--r--static/website/templates/header.html2
-rw-r--r--static/website/templates/home.html188
-rwxr-xr-xstatic/website/templates/submit-cfp.html2
-rwxr-xr-xstatic/website/templates/submit-cfw.html2
-rw-r--r--website/admin.py10
-rw-r--r--website/migrations/0001_initial.py97
-rw-r--r--website/migrations/__init__.py0
-rw-r--r--website/models.py14
-rw-r--r--website/send_mails.py2
-rw-r--r--website/views.py147
28 files changed, 321 insertions, 237 deletions
diff --git a/static/website/bootstrap-css/assets/css/main.css b/static/website/bootstrap-css/assets/css/main.css
index eea0f6d..2184ff2 100644
--- a/static/website/bootstrap-css/assets/css/main.css
+++ b/static/website/bootstrap-css/assets/css/main.css
@@ -145,31 +145,17 @@ ul li {
}
.section-title {
-
-
color: #ffffff;
-
letter-spacing: 1px;
-
text-transform: uppercase;
-
text-align: left;
-
-display: block;
-
+display: inline-block;
background: #552505;
-
padding-left: 20px;
-
padding-right: 20px;
-
-width: -moz-fit-content;
-
+padding-bottom: 3px;
+padding-top: 2px;
}
-
-
-
-
.btn-white {
color: #000;
@@ -181,9 +167,21 @@ background-color: #ceab6a;
}
.btn-info{
color: #000;
- background-color: #b1c533;
+ background-color: #ceab6a;
+}
+.btn-info:hover {
+ color: #fff;
+ background-color: #552505;
+}
+btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus
+, .btn-info:active:focus, .btn-info:active:hover,
+ .open > .dropdown-toggle.btn-info.focus,
+ .open > .dropdown-toggle.btn-info:focus, .open > .dropdown-toggle.btn-info:hover
+ .btn-info.active, .btn-info:active, .open > .dropdown-toggle.btn-info
+ .btn-info.focus, .btn-info:focus{
+ color: #fff !important;
+ background-color: #552505 !important;
}
-
.facts i {
color: #ceab6a;
@@ -259,7 +257,7 @@ background-color: #552505;
}*/
.btn-white:hover, .btn-white:focus {
color: #000;
- background-color: #fff;
+ background-color: #ceab6a;
}
/*
.btn-black {
@@ -267,8 +265,8 @@ background-color: #552505;
background-color: #000;
}*/
.btn-black:hover, .btn-black:focus {
- color: #fff;
- background-color: #000;
+ color: #000;
+ background-color: #ceab6a;
}
/*
diff --git a/static/website/bootstrap-css/assets/images/SciPy2018_thmb.png b/static/website/bootstrap-css/assets/images/SciPy2018_thmb.png
deleted file mode 100644
index 418bb4e..0000000
--- a/static/website/bootstrap-css/assets/images/SciPy2018_thmb.png
+++ /dev/null
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/SciPy2019_pstr.png b/static/website/bootstrap-css/assets/images/SciPy2019_pstr.png
new file mode 100644
index 0000000..4832b4f
--- /dev/null
+++ b/static/website/bootstrap-css/assets/images/SciPy2019_pstr.png
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/SciPy2019_thmb.png b/static/website/bootstrap-css/assets/images/SciPy2019_thmb.png
new file mode 100644
index 0000000..72edf68
--- /dev/null
+++ b/static/website/bootstrap-css/assets/images/SciPy2019_thmb.png
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-1.jpg b/static/website/bootstrap-css/assets/images/photos/photos-1.jpg
index eccb58e..c2bf6b7 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-1.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-1.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-10.jpg b/static/website/bootstrap-css/assets/images/photos/photos-10.jpg
index ecd3f2f..ccd469c 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-10.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-10.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-11.jpg b/static/website/bootstrap-css/assets/images/photos/photos-11.jpg
new file mode 100644
index 0000000..f28c5d6
--- /dev/null
+++ b/static/website/bootstrap-css/assets/images/photos/photos-11.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-12.jpg b/static/website/bootstrap-css/assets/images/photos/photos-12.jpg
new file mode 100644
index 0000000..ce73319
--- /dev/null
+++ b/static/website/bootstrap-css/assets/images/photos/photos-12.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-2.jpg b/static/website/bootstrap-css/assets/images/photos/photos-2.jpg
index a0201dd..5f5ebd2 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-2.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-2.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-3.jpg b/static/website/bootstrap-css/assets/images/photos/photos-3.jpg
index 67f719d..28e9934 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-3.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-3.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-4.jpg b/static/website/bootstrap-css/assets/images/photos/photos-4.jpg
index 3c1217c..e64cd99 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-4.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-4.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-5.jpg b/static/website/bootstrap-css/assets/images/photos/photos-5.jpg
index d14e4c3..43af80c 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-5.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-5.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-6.jpg b/static/website/bootstrap-css/assets/images/photos/photos-6.jpg
index a7f3e3c..e55c18b 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-6.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-6.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-7.jpg b/static/website/bootstrap-css/assets/images/photos/photos-7.jpg
index 3b75ed8..ba84e72 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-7.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-7.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-8.jpg b/static/website/bootstrap-css/assets/images/photos/photos-8.jpg
index d744273..d15ee48 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-8.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-8.jpg
Binary files differ
diff --git a/static/website/bootstrap-css/assets/images/photos/photos-9.jpg b/static/website/bootstrap-css/assets/images/photos/photos-9.jpg
index 8033791..3cb730c 100644
--- a/static/website/bootstrap-css/assets/images/photos/photos-9.jpg
+++ b/static/website/bootstrap-css/assets/images/photos/photos-9.jpg
Binary files differ
diff --git a/static/website/templates/cfp.html b/static/website/templates/cfp.html
index c5aee13..9b2714d 100755
--- a/static/website/templates/cfp.html
+++ b/static/website/templates/cfp.html
@@ -12,7 +12,17 @@
{% endif %}
</center>
</p>
- {% if proposal_submit %}
+ {% if registration_complete %}
+ <center>
+ <p>Thank You for your registration. You can now log in by clicking
+ <a href="{% url 'website:cfp' %}">here!</a>
+ </p>
+ <br/>
+ <br/>
+ </center>
+ {% endif %}
+ {% if user and not user.is_anonymous and not login_required %}
+ {% if proposal_submit %}
<center>
<table>
<tr>
@@ -26,17 +36,7 @@
</table>
</center>
{% endif %}
- {% if registration_complete %}
- <center>
- <p>Thank You for your registration. You can now log in by clicking
- <a href="{% url 'website:cfp' %}">here!</a>
- </p>
- <br/>
- <br/>
- </center>
- {% endif %}
- {% if user and not user.is_anonymous and not login_required %}
- <p>We invite you to submit proposals for talks or workshops to be presented at SciPy 2018. The time duration for talks is 15 minutes and for workshops is 2 to 4 hours. There will be two parallel tracks for the workshops this year. One track is meant for beginners and the other is for advanced users.
+ <p>We invite you to submit proposals for talks or workshops to be presented at SciPy 2019. The time duration for talks is 15 minutes and for workshops is 2 to 4 hours. There will be two parallel tracks for the workshops this year. One track is meant for beginners and the other is for advanced users.
</p>
<span>
<h2>
@@ -44,11 +44,11 @@
</h2>
</span>
<ul>
- <li>Call for proposals opens: <b> 25<sup>th</sup> Sept. 2018</b>
+ <li>Call for proposals opens: <b>{{ cfp_dates.start_date| date:"d F Y" }}</b>
</li>
- <li>Last date for submission of proposals: <b>03<sup>rd</sup> Dec. 2018</b>
+ <li>Last date for submission of proposals: <b>{{ cfp_dates.end_date|date:"d F Y" }}</b>
</li>
- <!-- <li>Announcement of selected proposals: <b>15<sup>th</sup> Nov. 2018</b>
+ <!-- <li>Announcement of selected proposals: <b>15<sup>th</sup> Nov. 2019</b>
</li> -->
</ul>
<br/>
@@ -61,10 +61,10 @@
{% else %}
<center>
<a href="{% url 'website:view_abstracts' %}" class="btn btn-info">View Proposals</a>
- <!-- <a href="{% url 'website:submitcfp' %}" class ="btn btn-info" role="button"> Submit paper </a>
- <a href="{% url 'website:submitcfw' %}" class ="btn btn-info" role="button">Submit workshop </a> -->
+ <a href="{% url 'website:submitcfp' %}" class ="btn btn-info" role="button"> Submit paper </a>
+ <a href="{% url 'website:submitcfw' %}" class ="btn btn-info" role="button">Submit workshop </a>
</center>
- {% endif %}
+ {% endif %}
{% else %}
<hr>
<div class="row">
@@ -84,10 +84,10 @@
<button class="button special" name ="login" type="submit">Login</button>
<br/>
<br/>
- <!-- <a style="padding-right : 20px;" href="{% url 'website:user_register' %}" class="btn btn btn-primary">Create an Account
- </a> -->
- <br>
- <a href="/2018/forgotpassword/" class="btn btn-primary">Forgot Password?</a>
+ <a style="padding-right : 20px;" href="{% url 'website:user_register' %}" class="btn btn btn-primary">Create an Account
+ </a>
+ <br><br>
+ <a href="/2019/forgotpassword/" class="btn btn-primary">Forgot Password?</a>
</form>
</p>
<br>
diff --git a/static/website/templates/footer.html b/static/website/templates/footer.html
index b230cd0..da7c07f 100644
--- a/static/website/templates/footer.html
+++ b/static/website/templates/footer.html
@@ -8,9 +8,8 @@
<div class="row">
<div class="col-md-6">
<ul class="social-block">
- <li><a href="https://twitter.com/scipyindia"><i class="ion-social-twitter"></i></a></li>
- <li><a href="https://www.facebook.com/ScipyIndia2017-737085366490623/"><i class="ion-social-facebook"></i></a></li>
- <li><a href="https://plus.google.com/u/0/104012350840765676803"><i class="ion-social-googleplus"></i></a></li>
+ <li><a href="https://twitter.com/scipyindia" target="_blank"><i class="ion-social-twitter"></i></a></li>
+ <li><a href="https://www.facebook.com/ScipyIndia2017-737085366490623/" target="_blank"><i class="ion-social-facebook"></i></a></li>
</ul>
</div>
<div class="col-md-6">
@@ -24,7 +23,8 @@
<a style="color:white;" target="_blank" href="https://scipy.in/2014">2014</a>/
<a style="color:#ceab6a;" target="_blank" href="https://scipy.in/2015">2015</a>/
<a style="color:white;" target="_blank" href="https://scipy.in/2016">2016</a>/
- <a style="color:#ceab6a;" target="_blank" href="https://scipy.in/2017">2017</a>
+ <a style="color:#ceab6a;" target="_blank" href="https://scipy.in/2017">2017</a>/
+ <a style="color:white;" target="_blank" href="https://scipy.in/2018">2018</a>
</ul>
</div>
</div>
diff --git a/static/website/templates/header.html b/static/website/templates/header.html
index b4cab63..9a72f97 100644
--- a/static/website/templates/header.html
+++ b/static/website/templates/header.html
@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="title" content="SciPy India - International conference on Python for education and computing">
<meta name="description" content="SciPy India is a conference providing opportunities to spread the use of the Python programming language in the Scientific Computing community in India. It provides a unique opportunity to interact with the Who's who of the Python for Scientific Computing fraternity and learn, understand, participate, and contribute to Scientific Computing using Python. One of the goals of the conference is to combine education, engineering, and science with computing through the medium of Python.">
- <meta name="keywords" content="SciPy, SciPyIndia 2018, Python,SciPy India 2018,SciPy India conference,Scientific Computing">
+ <meta name="keywords" content="SciPy, SciPyIndia 2019, Python,SciPy India 2019,SciPy India conference,Scientific Computing">
<link rel="icon" href="{% static 'website/bootstrap-css/assets/images/logo.png' %}" type="icon">
<title>SciPy India 2019</title>
<script src="{% static 'website/bootstrap-css/assets/js/jquery.min.js' %}"></script>
diff --git a/static/website/templates/home.html b/static/website/templates/home.html
index 40d2280..d87935d 100644
--- a/static/website/templates/home.html
+++ b/static/website/templates/home.html
@@ -9,7 +9,7 @@
<h1>SciPy India 2019</h1>
<h2>29 &amp; 30 November, 2019 / IIT Bombay</h2>
- <a data-toggle="modal" data-target="#registermdl" data-scroll class="btn btn-white">Register now</a>
+ <a href="#registration" data-scroll class="btn btn-white">Register now</a>
</div>
@@ -175,42 +175,26 @@
</div>
</td>
</tr>
+ {% for registration_detail in registration_details %}
<tr>
<td style="border-top:none;!important">
<div class="align-baseline">
- Early Bird<br>
- (till 1 Oct 2019) <br>
- INR 1534 (INR 1300 +18% GST)
+ {{ registration_detail.registration_type }}<br>
+ {% if not registration_detail.start_date %}
+ (till {{ registration_detail.end_date| date:"d M Y"}})<br>
+ {% else %}
+ ({{ registration_detail.start_date| date:"d M Y"}} to {{ registration_detail.end_date| date:"d M Y"}})<br>
+ {% endif %}
+ {{registration_detail.registration_ticket}}
</div>
</td>
<td style="border-top:none;!important">
<div class="align-baseline">
- <p class="text-justify">This ticket includes conference (tutorials + talks), lunch, and snacks for 2 days. It does not include Accommodation &amp; T-Shirt. This is a non-refundable ticket. </p>
+ {{ registration_detail.registration_description| safe }}
</div>
</td>
</tr>
- <tr>
- <td style="border-top:none;!important">
- <div class="align-baseline">
- Regular<br>
- ( 2 Oct to 25 Nov 2019)<br>
- INR 1770 (INR 1500 +18% GST)
- </div>
- </td>
- <td style="border-top:none;!important">
- <div class="align-baseline">
- This ticket includes conference (tutorials + talks), lunch and snacks for 2 days. It does not include Accommodation &amp; T-Shirt. This is a non-refundable ticket.
- </div>
- </td>
- </tr>
- <tr>
- <td style="border-top:none;!important">
- <div class="align-baseline">
- Lite<br>
- (till 28 Nov 2019)<br>
- INR 826 (INR 700 +18% GST)
- </div>
- </td>
+ {% endfor %}
<!-- <td style="border-top:none;!important">
<div class="align-baseline">
<p class="text-justify">This Ticket allows you to <strong>ONLY</strong> attend the conference for 2 Days (snacks for two days will be served). Does not include any conference amenities (Accommodation, Lunch &amp; T-shirt).This is a non-refundable ticket. </p>
@@ -225,14 +209,8 @@
<br>Subject to Availability
</div>
- </td> -->
- <td style="border-top:none;!important">
- <div class="align-baseline">
- This ticket includes conference (tutorials + talks), lunch and snacks for 2 days. It does not include Accommodation &amp; T-Shirt. This is a non-refundable ticket.
- </div>
- </td>
- </tr>
- <!-- <tr>
+ </td>
+ <tr>
<td style="border-top:none;!important">
<div class="align-baseline">
<strong>On-Spot Registration</strong><br>
@@ -250,41 +228,35 @@
</div>
</td>
</tr> -->
-
<tr>
-
- <td colspan="2">
- <p class="text-justify"><span><b>Payment instructions:</b></span></p>
- <p><span class="text-justify">Please read the instructions carefully, before proceeding for Registration.</span></p>
- <ol>
- <li><span class="text-justify">Please make the payment for the conference through Net banking using NEFT or RTGS or IMPS</span></li>
- <li><span class="text-justify">Account Details for transaction are mentioned below:</span>
- <ul>
- <li><span class="text-justify">Account Holder Name - The Registrar, IIT Bombay</span></li>
- <li><span class="text-justify">Bank Name - State Bank of India</span></li>
- <li><span class="text-justify">Branch Name - IIT, Powai Branch</span></li>
- <li><span class="text-justify">Bank address - Adi Shankaracharya marg, IIT Bombay, Powai, Mumbai - 400076</span></li>
- <li><span class="text-justify">9-Digit Code no. of the bank and the branch - 400002034</span></li>
- <li><span class="text-justify">Account number - 10725729128</span></li>
- <li><span class="text-justify">IFSC Code/ NEFT/ RTGS code - SBIN0001109</span></li>
- <li><span class="text-justify">Swift Code - SBININBB519</span></li>
- </ul></li>
- <li><span class="text-justify">After successful payment take the screenshot of the final transaction. Save this screenshot as you have to upload it in the form. </span></li>
- <li><span class="text-justify">Collect your transaction reference number / UTR number from the bank. Note it down somewhere you have to fill this detail in the form as well.</span></li>
- <li><span class="text-justify">After verification of your payment by our team, we shall send you the ticket for the conference via email. This shall take 10 days.</span>
- </li>
- </ol>
- </td>
- </tr>
+ <td colspan="2">
+ <p class="text-justify"><span><b>Payment instructions:</b></span></p>
+ <p><span class="text-justify">Please read the instructions carefully, before proceeding for Registration.</span></p>
+ <ol>
+ <li><span class="text-justify">Please make the payment for the conference through Net banking using NEFT or RTGS or IMPS</span></li>
+ <li><span class="text-justify">Account Details for transaction are mentioned below:</span>
+ <ul>
+ <li><span class="text-justify">Account Holder Name - The Registrar, IIT Bombay</span></li>
+ <li><span class="text-justify">Bank Name - State Bank of India</span></li>
+ <li><span class="text-justify">Branch Name - IIT, Powai Branch</span></li>
+ <li><span class="text-justify">Bank address - Adi Shankaracharya marg, IIT Bombay, Powai, Mumbai - 400076</span></li>
+ <li><span class="text-justify">9-Digit Code no. of the bank and the branch - 400002034</span></li>
+ <li><span class="text-justify">Account number - 10725729128</span></li>
+ <li><span class="text-justify">IFSC Code/ NEFT/ RTGS code - SBIN0001109</span></li>
+ <li><span class="text-justify">Swift Code - SBININBB519</span></li>
+ </ul></li>
+ <li><span class="text-justify">After successful payment take the screenshot of the final transaction. Save this screenshot as you have to upload it in the form. </span></li>
+ <li><span class="text-justify">Collect your transaction reference number / UTR number from the bank. Note it down somewhere you have to fill this detail in the form as well.</span></li>
+ <li><span class="text-justify">After verification of your payment by our team, we shall send you the ticket for the conference via email. This shall take 10 days.</span>
+ </li>
+ </ol>
+ </td>
+ </tr>
</table>
</div>
</div>
<div class="row">
<div class="col-md-12">
- <!--
- <p class="text-justify" style="color: red;">
- *Spot registration will be subject to availability.
- </p> -->
<h3 style="background-color: #552505;color: #fff;" class="col-sm-2">Add ons</h3>
</div>
</div>
@@ -301,10 +273,10 @@
<td style="border-top:none;!important">
<div class="align-baseline">
<ul>
- <li>Accommodation is provided on a shared basis inside IIT-B campus. Accommodation will be provided for 2 days, i.e, 20-21 and 21-22 December. Accommodation does not include other amenities like dinner, etc. Extension of period of stay is not available. This is a non-refundable ticket and non-transferable ticket. </li>
+ <li>Accommodation is provided on a shared basis inside IIT-B campus. Accommodation will be provided for 2 days, i.e, 28-29 and 29-30 November 2019. Accommodation does not include other amenities like dinner, etc. Extension of period of stay is not available. This is a non-refundable ticket. </li>
<li>A low-cost accommodation will be provided on sharing basis.</li>
<li><strong>You have to make the payment directly at the the registration desk in cash.</strong></li>
- <li style="color: red;">*Accommodation is subject to availability for On-spot registrations.</li>
+ <!-- <li style="color: red;">*Accommodation is subject to availability for On-spot registrations.</li> -->
</ul>
</div>
</td>
@@ -318,7 +290,7 @@
</td>
<td style="border-top:none;!important">
<div class="align-baseline">
- Change of size, exchange at the venue is not available. This is a non-refundable ticket and non-transferable ticket. The T-shirt cost will be INR 350/- each. <strong>You will have to make the payment at the registration desk in cash.</strong>
+ Change of size, exchange at the venue is not available. This is a non-refundable ticket and non-transferable ticket. The T-shirt cost will be INR 350/- each. <strong>You will have to make the payment at the registration desk in cash.</strong>
</div>
</td>
</tr>
@@ -340,14 +312,14 @@
<div class="row">
<div class="col-md-12">
<center>
- <a href ="https://docs.google.com/forms/d/e/1FAIpQLSdJIZKToHp_L68op-pqQlvI2SyPwCo5-9PAyVh4lOu8vSd1sw/viewform" class="btn btn-primary" target ="_blank">Register now</a>
+ <a href ="https://docs.google.com/forms/d/1w3CZ4XWA7U8NqGqpKvqfJHCo5XrGw879rgJFh8HfjnE/viewform?edit_requested=true" class="btn btn-white" target ="_blank">Register now</a>
</center>
</div>
</div>
</div>
</section>
- <section id="important_dates" class="section important_dates">
+ <!-- <section id="important_dates" class="section important_dates">
<div class="container">
<div class="row">
<div class="col-md-12">
@@ -356,36 +328,25 @@
</div>
<div class="row">
<div class="col-md-6">
- <h4>Call for Papers opens on: TBD</h4>
+ <h4>Call for Papers opens on: {{ cfp_dates.cfp_start_date| date:"d F Y" }}</h4>
</div>
<div class="col-md-6">
- <h4>Call for Papers closes on: TBD</h4>
+ <h4>Call for Papers closes on: {{ cfp_dates.cfp_end_date| date:"d F Y" }}</h4>
</div>
</div>
</div>
- </section>
+ </section> -->
<section id="contribution" class="section contribution">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3 class="section-title">Call for Papers</h3>
-
<p>We invite you to submit proposals for talks or workshops to be presented at SciPy 2019. The time duration for talks is 15 minutes and for workshops is 2 to 3 hours. There will be two parallel tracks for the workshops this year. One track is meant for beginners and the other is for advanced users. </p>
- <center><a data-toggle="modal" data-target="#announce_cfp" class="btn btn-white">
+ <center><a href="{% url 'website:cfp' %}" class="btn btn-white">
Submit</a></center>
</div>
</div>
- <!-- <div class="row">
- <div class="col-md-12">
- <p class="text-justify" style="font-weight: bold;color: red;">
- Call for Papers is closed.
- </p>
- <p class="text-justify">
- Kindly <a href="{% url 'auth:login' %}" style="text-decoration: underline;font-weight: bold;">login</a> to view the status of your submission.
- </p>
- </div>
- </div> -->
</div>
</section>
@@ -489,9 +450,8 @@
<td width="60%">These instructions give you details about the venue and accommodation. It will also help you during the stay at IIT Bombay. </td>
<td><a href="https://static.fossee.in/python/scipy2018/Information-Guide-for-SciPy-India-2018-Conference.pdf" target="_blank">View here</a> </td>
</tr>
- <!--
<tr>
- <td>SciPy 2017: <br>Preferred Workshop Track</td>
+ <td>SciPy 2018: <br>Preferred Workshop Track</td>
<td>Please select the workshop in which you wish to participate (Satellite conference registrants need not submit this form).</td>
<td><a href="http://tinyurl.com/SciPy2016-Workshop" target="_blank">View here</a> </td>
</tr> -->
@@ -502,7 +462,7 @@
</td>
<td><a href="https://static.fossee.in/python/scipy2018/SciPyIndia-2018-Instruction-Sheet.pdf" target="_blank">View here</a> </td>
</tr>
- <!--<tr >
+ <<tr >
<td>Workshop Material </td>
<td >1)<b> Workshop</b>: Introductory Scientific Computing with Python: Ipython, Matplotlib, NumPy, SciPy - Prof. Prabhu Ramachandran<br></td>
<td><a href="http://scipy.in/2016/downloads/workshop/intro_scipy_circulate.zip" target="_blank">View here</a> </td>
@@ -582,12 +542,11 @@
<div class="col-md-8">
<p class="text-justify">
We request you to share the event details through this poster with faculty members, students and others who might be interested. You may print the poster (native size - A4) and display on the notice boards.
-
- Download the poster by clicking on the image.
+ Download the poster by clicking on the image.
</p>
</div>
<div class="col-md-4">
- <a href="{% static 'website/bootstrap-css/assets/pdf/SciPy2018_pstr.pdf'%}" target="_blank"><img class="img-responsive center-block img-logo" src="{% static 'website/bootstrap-css/assets/images/SciPy2018_thmb.png' %}"></a>
+ <a href="{% static 'website/bootstrap-css/assets/images/SciPy2019_pstr.png'%}" target="_blank"><img class="img-responsive center-block img-logo" src="{% static 'website/bootstrap-css/assets/images/SciPy2019_thmb.png' %}"></a>
</div>
</div>
</section>
@@ -608,7 +567,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-10.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -617,7 +576,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-4.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -626,7 +585,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-2.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
@@ -636,7 +595,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-3.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -645,7 +604,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-1.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -654,7 +613,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-5.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -663,7 +622,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-6.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -672,7 +631,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-7.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -681,7 +640,7 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-8.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
</a>
</div>
<div class="col-lg-3 col-md-4 col-xs-6 thumb">
@@ -690,12 +649,20 @@
data-target="#image-gallery">
<img class="img-thumbnail"
src="{% static 'website/bootstrap-css/assets/images/photos/photos-9.jpg' %}" style="width: 250px; height: 180px"
- alt="Scipy 2017">
+ alt="Scipy 2018">
+ </a>
+ </div>
+ <div class="col-lg-3 col-md-4 col-xs-6 thumb">
+ <a class="thumbnail" href="#" data-image-id="" data-toggle="modal" data-title=""
+ data-image="{% static 'website/bootstrap-css/assets/images/photos/photos-11.jpg' %}"
+ data-target="#image-gallery">
+ <img class="img-thumbnail"
+ src="{% static 'website/bootstrap-css/assets/images/photos/photos-11.jpg' %}" style="width: 250px; height: 180px"
+ alt="Scipy 2018">
</a>
</div>
</div>
-
<div class="modal fade" id="image-gallery" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
@@ -747,23 +714,6 @@
</div>
</section>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-<img class="src-image" src="{% static 'website/bootstrap-css/assets/images/speakers/dummy.png' %}"/>
-
<div class="modal fade" id="announce_cfp" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
@@ -771,7 +721,7 @@
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
- <p class="text-justify">Call for Papers opens on : TBD</p>
+ <p class="text-justify">Call for Papers will open soon</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-info" data-dismiss="modal">Close</button>
diff --git a/static/website/templates/submit-cfp.html b/static/website/templates/submit-cfp.html
index 1d6d92b..88bd54e 100755
--- a/static/website/templates/submit-cfp.html
+++ b/static/website/templates/submit-cfp.html
@@ -28,7 +28,7 @@
<li>All selected proposals must be presented at the conference by at least one author.</li>
</ul>
<div class="row">
- <form action="" method=POST class="col-md-12">
+ <form action="" method=POST enctype="multipart/form-data">
<div class="form-group">
<label for="name_of_authors">Name of the author1
<span style="color:red;">*</span>:
diff --git a/static/website/templates/submit-cfw.html b/static/website/templates/submit-cfw.html
index 5be87c2..6d4136c 100755
--- a/static/website/templates/submit-cfw.html
+++ b/static/website/templates/submit-cfw.html
@@ -34,7 +34,7 @@
</ul>
</li>
</ul>
- <form action="" method=POST>
+ <form action="" method=POST enctype="multipart/form-data">
<div class="form-group">
<label for="name_of_authors">Name of the author1
<span style="color:red;">*</span>:
diff --git a/website/admin.py b/website/admin.py
index 8c38f3f..d60a729 100644
--- a/website/admin.py
+++ b/website/admin.py
@@ -1,3 +1,11 @@
from django.contrib import admin
+from .models import CFP, RegistrationDetail
-# Register your models here.
+class CFPAdmin(admin.ModelAdmin):
+ list_display = ['start_date','end_date','date_of_announcement']
+
+class RegistrationDetailAdmin(admin.ModelAdmin):
+ list_display = ['registration_type', 'start_date', 'end_date', 'registration_ticket','registration_description']
+
+admin.site.register(CFP, CFPAdmin)
+admin.site.register(RegistrationDetail, RegistrationDetailAdmin)
diff --git a/website/migrations/0001_initial.py b/website/migrations/0001_initial.py
new file mode 100644
index 0000000..e5cd47f
--- /dev/null
+++ b/website/migrations/0001_initial.py
@@ -0,0 +1,97 @@
+# Generated by Django 2.2.4 on 2019-09-01 16:13
+
+from django.conf import settings
+import django.core.validators
+from django.db import migrations, models
+import django.db.models.deletion
+import website.models
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='CFP',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('start_date', models.DateTimeField(blank=True, null=True)),
+ ('end_date', models.DateTimeField(blank=True, null=True)),
+ ('date_of_announcement', models.DateTimeField(blank=True, null=True)),
+ ('receive_proposals', models.BooleanField(default=True)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Proposal',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name_of_author1', models.CharField(default='None', max_length=200)),
+ ('name_of_author2', models.CharField(default='None', max_length=200)),
+ ('about_the_authors', models.TextField(max_length=500)),
+ ('email', models.CharField(max_length=128)),
+ ('phone', models.CharField(max_length=20)),
+ ('title', models.CharField(max_length=250)),
+ ('abstract', models.TextField(max_length=700)),
+ ('prerequisite', models.CharField(max_length=750)),
+ ('duration', models.CharField(max_length=100)),
+ ('attachment', models.FileField(upload_to=website.models.get_document_dir)),
+ ('date_created', models.DateTimeField(auto_now_add=True)),
+ ('date_modified', models.DateTimeField(auto_now=True)),
+ ('status', models.CharField(default='Pending', max_length=100)),
+ ('proposal_type', models.CharField(max_length=100)),
+ ('tags', models.CharField(max_length=250)),
+ ('open_to_share', models.CharField(default=1, max_length=2)),
+ ('terms_and_conditions', models.BooleanField(default='True')),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='RegistrationDetail',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('registration_type', models.CharField(blank=True, max_length=50, null=True)),
+ ('start_date', models.DateTimeField(blank=True, null=True)),
+ ('end_date', models.DateTimeField(blank=True, null=True)),
+ ('registration_ticket', models.CharField(blank=True, max_length=100, null=True)),
+ ('registration_description', models.CharField(blank=True, max_length=250, null=True)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Ratings',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('rating', models.CharField(max_length=700)),
+ ('proposal', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.Proposal')),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Profile',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(blank=True, choices=[('Mr', 'Mr.'), ('Miss', 'Ms.'), ('Professor', 'Prof.'), ('Doctor', 'Dr.')], max_length=32)),
+ ('institute', models.CharField(max_length=150)),
+ ('phone_number', models.CharField(max_length=10, validators=[django.core.validators.RegexValidator(message="Phone number must be entered in the format: '9999999999'. Up to 10 digits allowed.", regex='^.{10}$')])),
+ ('position', models.CharField(choices=[('student', 'Student'), ('faculty', 'Faculty'), ('industry_people', 'Industry People')], default='student', help_text='Selected catagoery ID shold be required', max_length=32)),
+ ('how_did_you_hear_about_us', models.CharField(blank=True, choices=[('Poster', 'Poster'), ('FOSSEE website', 'FOSSEE website'), ('Google', 'Google'), ('Social Media', 'Social Media'), ('From other College', 'From other College')], max_length=255)),
+ ('is_email_verified', models.BooleanField(default=False)),
+ ('activation_key', models.CharField(blank=True, max_length=255, null=True)),
+ ('key_expiry_time', models.DateTimeField(blank=True, null=True)),
+ ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Comments',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('comment', models.CharField(max_length=700)),
+ ('proposal', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.Proposal')),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ ),
+ ]
diff --git a/website/migrations/__init__.py b/website/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/website/migrations/__init__.py
diff --git a/website/models.py b/website/models.py
index e714f7c..f6d2f24 100644
--- a/website/models.py
+++ b/website/models.py
@@ -147,3 +147,17 @@ class Profile(models.Model):
self.user.last_name,
self.user.email
)
+
+class CFP(models.Model):
+ start_date = models.DateTimeField(blank=True, null = True)
+ end_date = models.DateTimeField(blank=True, null=True)
+ date_of_announcement = models.DateTimeField(blank = True, null=True)
+ receive_proposals = models.BooleanField(default=True)
+
+
+class RegistrationDetail(models.Model):
+ registration_type = models.CharField(max_length=50, blank= True, null= True)
+ start_date = models.DateTimeField(blank=True, null = True)
+ end_date = models.DateTimeField(blank=True, null=True)
+ registration_ticket = models.CharField(max_length=100, blank=True, null=True)
+ registration_description = models.CharField(max_length=250, blank= True, null= True)
diff --git a/website/send_mails.py b/website/send_mails.py
index 997b9f5..eb4e25b 100644
--- a/website/send_mails.py
+++ b/website/send_mails.py
@@ -115,7 +115,7 @@ def send_email(request, call_on,
You can now proceed to submit a paper/workshop for the conference.
In case of queries regarding submitting a proposal,
- revert to this email.""".format(PRODUCTION_URL, key))
+ revert to this email.""".format(settings.PRODUCTION_URL, key))
try:
send_mail(
"User Registration - SciPy India 2018, FOSSEE, IIT Bombay", message, SENDER_EMAIL,
diff --git a/website/views.py b/website/views.py
index 5be7a32..ced25c1 100644
--- a/website/views.py
+++ b/website/views.py
@@ -12,11 +12,11 @@ from django.views.decorators.csrf import (csrf_exempt, csrf_protect,
requires_csrf_token)
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import User
-from website.models import Proposal, Comments, Ratings
+from website.models import Proposal, Comments, Ratings, CFP, RegistrationDetail
from website.forms import (ProposalForm, UserRegisterForm, UserRegistrationForm,
UserLoginForm, WorkshopForm) # ,ContactForm
-from website.models import Proposal, Comments, Ratings
+from website.models import Proposal, Comments, Ratings, get_document_dir
from social.apps.django_app.default.models import UserSocialAuth
from django.contrib.auth import authenticate, login, logout
import datetime, time
@@ -24,6 +24,7 @@ from django.core.mail import EmailMultiAlternatives
import os
from Scipy2019.config import *
from website.send_mails import send_email
+from datetime import datetime
def is_email_checked(user):
@@ -39,6 +40,12 @@ def is_superuser(user):
def index(request):
context = {}
+ registration_details = RegistrationDetail.objects.all()
+ context['registration_details'] = registration_details
+ # regular_dates = ImportantDate.objects.get(category='Regular')
+ # context['regular_dates'] = regular_dates
+ # lite_dates = ImportantDate.objects.get(category='Lite')
+ # context['lite_dates'] = lite_dates
template = loader.get_template('index.html')
return HttpResponse(template.render(context, request))
@@ -130,8 +137,11 @@ def view_abstracts(request):
@requires_csrf_token
def cfp(request):
user = request.user
+ cfp_dates = CFP.objects.get(id=1)
+ context={}
+ context['cfp_dates'] = cfp_dates
if request.user.is_authenticated:
- return render(request, 'cfp.html')
+ return render(request, 'cfp.html', context)
else:
if request.method == "POST":
context = {}
@@ -144,13 +154,15 @@ def cfp(request):
login(request, user)
proposals = Proposal.objects.filter(user=request.user).count()
context['user'] = user
- return redirect('/2018/cfp')
+ #context['cfp_dates'] = 'August 20'
+ return redirect('/2019/cfp')
#template = loader.get_template('index.html')
#return render(request, 'index.html', context)
else:
context['invalid'] = True
context['form'] = UserLoginForm
context['user'] = user
+ #context['cfp_dates'] = 'August 20'
#context['proposals_a'] = proposals_a
return render(request, 'cfp.html', context)
else:
@@ -158,7 +170,7 @@ def cfp(request):
context = {'request': request,
'user': request.user,
'form': form,
- }
+ }
template = loader.get_template('cfp.html')
return HttpResponse(template.render(context, request))
@@ -167,9 +179,10 @@ def cfp(request):
@login_required
def submitcfp(request):
context = {}
+ cfp_dates = CFP.objects.get(id=1)
+ context['cfp_dates'] = cfp_dates
if request.user.is_authenticated:
social_user = request.user
-
django_user = User.objects.get(username=social_user)
context['user'] = django_user
proposals_a = Proposal.objects.filter(
@@ -180,24 +193,25 @@ def submitcfp(request):
data = form.save(commit=False)
data.user = django_user
data.email = social_user.email
+ # data.attachment = request.FILES
data.save()
context['proposal_submit'] = True
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
- subject = "SciPy India 2018 – Paper Submission Acknowledgement "
+ subject = "SciPy India 2019 – Paper Submission Acknowledgement "
to = (social_user.email, TO_EMAIL)
message = """
Dear {0}, <br><br>
- Thank you for showing interest & submitting a paper proposal at SciPy India 2018
+ Thank you for showing interest & submitting a paper proposal at SciPy India 2019
for the paper titled {1}. Reviewal of the proposals will start
once the CFP closes.
You will be notified regarding comments/selection/rejection of your paper via email.
Visit this {2} link to view the status of your submission.
- <br>Thank You. <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+ <br>Thank You. <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
social_user.first_name,
request.POST.get('title', None),
- 'https://scipy.in/2018/view-abstracts/',)
+ 'https://scipy.in/2019/view-abstracts/',)
email = EmailMultiAlternatives(
subject, '',
sender_email, to,
@@ -209,6 +223,7 @@ def submitcfp(request):
else:
context['proposal_form'] = form
context['proposals_a'] = proposals_a
+
template = loader.get_template('submit-cfp.html')
return HttpResponse(template.render(context, request))
else:
@@ -224,6 +239,8 @@ def submitcfp(request):
@login_required
def submitcfw(request):
context = {}
+ cfp_dates = CFP.objects.get(id=1)
+ context['cfp_dates'] = cfp_dates
if request.user.is_authenticated:
social_user = request.user
# context.update(csrf(request))
@@ -239,20 +256,20 @@ def submitcfw(request):
data.email = social_user.email
data.save()
context['proposal_submit'] = True
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
- subject = "SciPy India 2018 – Workshop Proposal Submission Acknowledgment"
+ subject = "SciPy India 2019 – Workshop Proposal Submission Acknowledgment"
to = (social_user.email, TO_EMAIL)
message = """
Dear {0}, <br><br>
- Thank you for showing interest & submitting a workshop proposal at SciPy India 2018 conference for the workshop titled <b>“{1}”</b>. Reviewal of the proposals will start once the CFP closes.
+ Thank you for showing interest & submitting a workshop proposal at SciPy India 2019 conference for the workshop titled <b>“{1}”</b>. Reviewal of the proposals will start once the CFP closes.
<br><br>You will be notified regarding comments/selection/rejection of your workshop via email.
Visit this {2} link to view status of your submission.
- <br>Thank You ! <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+ <br>Thank You ! <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
social_user.first_name,
request.POST.get('title', None),
- 'https://scipy.in/2018/view-abstracts/',)
+ 'https://scipy.in/2019/view-abstracts/',)
email = EmailMultiAlternatives(
subject, '',
sender_email, to,
@@ -346,7 +363,7 @@ def abstract_details(request, proposal_id=None):
proposal = Proposal.objects.get(id=proposal_id)
if proposal.user == user:
try:
- url = '/2018'+str(proposal.attachment.url)
+ url = '/2019'+str(proposal.attachment.url)
context['url'] = url
except:
pass
@@ -414,7 +431,7 @@ def comment_abstract(request, proposal_id=None):
try:
proposal = Proposal.objects.get(id=proposal_id)
try:
- url = '/2018'+str(proposal.attachment.url)
+ url = '/2019'+str(proposal.attachment.url)
context['url'] = url
except:
pass
@@ -425,35 +442,35 @@ def comment_abstract(request, proposal_id=None):
comment.proposal = proposal
comment.save()
comments = Comments.objects.filter(proposal=proposal)
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
to = (proposal.user.email, TO_EMAIL)
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Comment on Your talk Proposal"
+ subject = "SciPy India 2019 - Comment on Your talk Proposal"
message = """
Dear {0}, <br><br>
There is a comment posted on your proposal for the talk titled <b>{1}</b>.<br>
Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email.
Log in to view the comments on your submission.<br><br>
- Thank You ! <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+ Thank You ! <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
proposal.title,
- 'https://scipy.in/2018/abstract-details/' +
+ 'https://scipy.in/2019/abstract-details/' +
str(proposal.id),
)
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Comment on Your Workshop Proposal"
+ subject = "SciPy India 2019 - Comment on Your Workshop Proposal"
message = """
Dear {0}, <br><br>
There is a comment posted on your proposal for the workshop titled <b>{1}</b>.<br>
Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email.
Log in to view the comments on your submission.<br><br>
- Thank You ! <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+ Thank You ! <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
proposal.title,
- 'http://scipy.in/2018/abstract-details/' +
+ 'http://scipy.in/2019/abstract-details/' +
str(proposal.id),
)
#email = EmailMultiAlternatives(
@@ -506,38 +523,38 @@ def status(request, proposal_id=None):
if 'accept' in request.POST:
proposal.status = "Accepted"
proposal.save()
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
to = (proposal.user.email, TO_EMAIL)
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Talk Proposal Accepted"
+ subject = "SciPy India 2019 - Talk Proposal Accepted"
message = """Dear """+proposal.user.first_name+""",
Thank you for your excellent submissions! This year we received many really good submissions. Due the number and quality of the talks this year we have decided to give 20 minute slots to all the accepted talks. So even though you may have submitted a 30 minute one, we are sorry you will only have 20 minutes. Of these 20 minutes please plan to do a 15 minute talk (we will strive hard to keep to time), and keep 5 minutes for Q&A and transfer. We will have the next speaker get ready during your Q&A session in order to not waste time.
Pardon the unsolicited advice but it is important that you plan your presentations carefully. 15 minutes is a good amount of time to communicate your central idea. Most really good TED talks finish in 15 minutes. Keep your talk focussed and please do rehearse your talk and slides to make sure it flows well. If you need help with this, the program chairs can try to help you by giving you some early feedback on your slides. Just upload your slides before 26th on the same submission interface and we will go over it once. For anything submitted after 26th we may not have time to comment on but will try to give you feedback. Please also keep handy a PDF version of your talk in case your own laptops have a problem.
Please confirm your participation. The schedule will be put up online by end of day. We look forward to hearing your talk.
- \n\nYou will be notified regarding instructions of your talk via email.\n\nThank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay"""
+ \n\nYou will be notified regarding instructions of your talk via email.\n\nThank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay"""
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Workshop Proposal Accepted"
+ subject = "SciPy India 2019 - Workshop Proposal Accepted"
message = """Dear """+proposal.user.first_name+""",
Thank you for your excellent submissions! We are pleased to accept your workshop. Due to the large number of submissions we have decided to accept 8 workshops and give all the selected workshops 2 hours each. Please plan for 1 hour and 55 minutes in order to give the participants a 10 minute break between workshops for tea.
The tentative schedule will be put up on the website shortly. Please do provide detailed instructions for the participants (and the organizers if they need to do something for you) in your reply. Please also confirm your participation.
We strongly suggest that you try to plan your workshops carefully and focus on doing things hands-on and not do excessive amounts of theory. Try to give your participants a decent overview so they can pick up additional details on their own. It helps to pick one or two overarching problems you plan to solve and work your way through the solution of those.
Installation is often a problem, so please make sure your instructions are simple and easy to follow. If you wish, we could allow some time the previous day for installation help. Let us know about this. Also, do not waste too much time on installation during your workshop.
- \n\nYou will be notified regarding instructions of your talk via email.\n\nThank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay"""
+ \n\nYou will be notified regarding instructions of your talk via email.\n\nThank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay"""
#send_mail(subject, message, sender_email, to)
# context.update(csrf(request))
elif 'reject' in request.POST:
proposal.status = "Rejected"
proposal.save()
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
to = (proposal.user.email, TO_EMAIL, )
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Talk Proposal Rejected"
+ subject = "SciPy India 2019 - Talk Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",
Thank you for your submission to the conference. Unfortunately, due to the large number of excellent talks that were submitted, your talk was not selected. We hope you are not discouraged and request you to kindly attend the conference and participate. We have an excellent line up of workshops (8 in total) and many excellent talks. You may also wish to give a lightning talk (a short 5 minute talk) at the conference if you so desire.
We look forward to your active participation in the conference.
- \n\nThank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay"""
+ \n\nThank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay"""
# message = """Dear """+proposal.user.first_name+""",
# Your talk was rejected because the contents of your work (your report for example) were entirely plagiarized. This is unacceptable and this amounts to severe academic malpractice and misconduct. As such we do not encourage this at any level whatsoever. We strongly suggest that you change your ways. You should NEVER EVER copy paste any content, no matter where you see it. Even if you cite the place where you lifted material from, it is not acceptable to copy anything verbatim. Always write in your own words. Your own personal integrity is much more important than a publication. When giving a tutorial it is understandable that you may use material that someone else has made if you acknowledge this correctly and with their full knowledge. However, the expectation is that you have done something yourself too. In your case a bulk of the work seems plagiarized and even if your talk material is your own, your act of plagiarizing content for your report is unacceptable to us.
@@ -547,12 +564,12 @@ def status(request, proposal_id=None):
# SciPy India Program chairs"""
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Workshop Proposal Rejected"
+ subject = "SciPy India 2019 - Workshop Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",
Thank you for your submission to the conference.
Unfortunately, due to the large number of excellent workshops submitted, yours was not selected. We hope you are not discouraged and request you to kindly attend the conference and participate. We have an excellent line up of workshops (8 in total) and many excellent talks. You may also wish to give a lightning talk (a short 5 minute talk) at the conference if you so desire.
We look forward to your active participation in the conference.
- \n\nThank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay"""
+ \n\nThank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay"""
# message = """Dear """+proposal.user.first_name+""",
# Thank you for your excellent workshop submission titled “Digital forensics using Python”. The program committee was really excited about your proposal and thought it was a very good one. While the tools you use are certainly in the SciPy toolstack the application was not entirely in the domain of the attendees we typically have at SciPy. This along with the fact that we had many really good workshops that were submitted made it hard to select your proposal this time -- your proposal narrowly missed out. We strongly suggest that you submit this to other more generic Python conferences like the many PyCon and PyData conferences as it may be a much better fit there. We also encourage you to try again next year and if we have a larger audience, we may have space for it next year. This year with two tracks we already have 8 excellent workshops selected.
@@ -565,10 +582,10 @@ def status(request, proposal_id=None):
# context.update(csrf(request))
elif 'resubmit' in request.POST:
to = (proposal.user.email, TO_EMAIL)
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Talk Proposal Resumbmission"
+ subject = "SciPy India 2019 - Talk Proposal Resumbmission"
message = """
Dear {0}, <br><br>
Thank you for your excellent submissions! Your talk has been accepted! This year we received many really good submissions. Due to the number and quality of the talks this year we have decided to give 20 minute slots to all the accepted talks. So even though you may have submitted a 30 minute one, we are sorry you will only have 20 minutes. Of these 20 minutes please plan to do a 15 minute talk (we will strive hard to keep to time), and keep 5 minutes for Q&A and transfer. We will have the next speaker get ready during your Q&A session in order to not waste time.
@@ -579,19 +596,19 @@ def status(request, proposal_id=None):
""".format(
proposal.user.first_name,
proposal.title,
- 'https://scipy.in/2018/view-abstracts/'
+ 'https://scipy.in/2019/view-abstracts/'
)
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Workshop Proposal Resubmission"
+ subject = "SciPy India 2019 - Workshop Proposal Resubmission"
message = """
- Thank you for showing interest & submitting a workshop proposal at SciPy India 2018 conference for the workshop titled <b>"{1}"</b>. You are requested to submit this talk proposal once again.<br>
+ Thank you for showing interest & submitting a workshop proposal at SciPy India 2019 conference for the workshop titled <b>"{1}"</b>. You are requested to submit this talk proposal once again.<br>
You will be notified regarding comments/selection/rejection of your workshop via email.
Visit this {2} link to view comments on your submission.<br><br>
- Thank You ! <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+ Thank You ! <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
proposal.title,
- 'https://scipy.in/2018/view-abstracts/'
+ 'https://scipy.in/2019/view-abstracts/'
)
#email = EmailMultiAlternatives(
# subject, '',
@@ -697,40 +714,40 @@ def status_change(request):
proposal.status = "Accepted"
proposal.save()
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
cc_email = CC_EMAIL
bcc_email = BCC_EMAIL
to = (proposal.user.email)
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Talk Proposal Accepted"
+ subject = "SciPy India 2019 - Talk Proposal Accepted"
message = """Dear {0}, \n
Thank you for your excellent submission! Your talk has been accepted! We have allotted 20 minutes for each talk. Of these 20 minutes, please plan to do a 15 minute talk (we will strive hard to keep to time), and keep 5 minutes for Q&A and transfer. We will have the next speaker get ready during your Q&A session in order to not waste time.
Please also keep handy a PDF version of your talk in case your own laptop has a problem.
-Please confirm your participation via an email to scipy@fossee.in on or before 17 December 2018. We shall be waiving the registration fee for the speakers. Please fill this form ({1}) to give your details. In case you have already registered we shall reimburse the registration charges at the conference venue.The tentative schedule will be put up online by end of the day.
+Please confirm your participation via an email to scipy@fossee.in on or before 17 December 2019. We shall be waiving the registration fee for the speakers. Please fill this form ({1}) to give your details. In case you have already registered we shall reimburse the registration charges at the conference venue.The tentative schedule will be put up online by end of the day.
We look forward to hearing your talk.
-Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay.
+Thank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
'https://tinyurl.com/scipy18-speakers'
)
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Workshop Proposal Accepted"
+ subject = "SciPy India 2019 - Workshop Proposal Accepted"
message = """Dear {0}, \n
Thank you for your excellent submission! We are pleased to accept your workshop. Each workshop is allotted a time slot of 2 hours. Please plan for 1 hour and 55 minutes in order to give the participants a 10 minute break between workshops for tea.
-The tentative schedule will be put up on the website shortly. Please confirm your participation via an email to scipy@fossee.in on or before 17 December 2018. We shall be waiving the registration fee for the speakers. Please fill this form ({1}) to give your details. In case you have already registered we shall reimburse the registration charges at the conference venue.
+The tentative schedule will be put up on the website shortly. Please confirm your participation via an email to scipy@fossee.in on or before 17 December 2019. We shall be waiving the registration fee for the speakers. Please fill this form ({1}) to give your details. In case you have already registered we shall reimburse the registration charges at the conference venue.
We also request you to provide detailed instructions for the participants (and the organizers if they need to do something for you). These instructions will be made available on the conference website. Installation is often a problem, so please make sure your instructions are simple and easy to follow. If you wish, we could allow some time on the previous day for installation help. Let us know about this. Also, do not waste too much time on installation during your workshop.
We strongly suggest that you try to plan your workshops carefully and focus on doing things hands-on and not do excessive amounts of theory. Try to give your participants a decent overview so they can pick up additional details on their own. It helps to pick one or two overarching problems you plan to solve and work your way through the solution of those.
-Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay.
+Thank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
'https://tinyurl.com/scipy18-speakers'
@@ -755,18 +772,18 @@ Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay.
proposal = Proposal.objects.get(id=proposal_id)
proposal.status = "Rejected"
proposal.save()
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
cc_email = CC_EMAIL
bcc_email = BCC_EMAIL
to = (proposal.user.email)
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Talk Proposal Rejected"
+ subject = "SciPy India 2019 - Talk Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",
Thank you for your submission to the conference. Unfortunately, due to a large number of excellent talks that were submitted, your talk was not selected. We hope you are not discouraged and request you to kindly attend the conference and participate. We have an excellent line up of workshops (8 in total) and many excellent talks. If you wish to give a lightning talk (a short 5 minute talk) at the conference please let us know on the day of the conference.
We look forward to your active participation in the conference.
-Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay."""
+Thank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay."""
# message = """Dear """+proposal.user.first_name+""",
# Your talk was rejected because the contents of your work (your report for example) were entirely plagiarized. This is unacceptable and this amounts to severe academic malpractice and misconduct. As such we do not encourage this at any level whatsoever. We strongly suggest that you change your ways. You should NEVER EVER copy paste any content, no matter where you see it. Even if you cite the place where you lifted material from, it is not acceptable to copy anything verbatim. Always write in your own words. Your own personal integrity is much more important than a publication. When giving a tutorial it is understandable that you may use material that someone else has made if you acknowledge this correctly and with their full knowledge. However, the expectation is that you have done something yourself too. In your case a bulk of the work seems plagiarized and even if your talk material is your own, your act of plagiarizing content for your report is unacceptable to us.
@@ -774,13 +791,13 @@ Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay."""
# \n\nRegards,\n\nSciPy India Program chairs"""
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Workshop Proposal Rejected"
+ subject = "SciPy India 2019 - Workshop Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",
Thank you for your submission to the conference. Unfortunately, due to a large number of excellent workshops submitted, yours was not selected. We hope you are not discouraged and request you to kindly attend the conference and participate. We have an excellent line up of workshops (8 in total) and many excellent talks. If you wish to give a lightning talk (a short 5 minute talk) at the conference please let us know on the day of the conference.
We look forward to your active participation in the conference.
-Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay."""
+Thank You ! \n\nRegards,\nSciPy India 2019,\nFOSSEE - IIT Bombay."""
# message = """Dear """+proposal.user.first_name+""",
# Thank you for your excellent workshop submission titled “Digital forensics using Python”. The program committee was really excited about your proposal and thought it was a very good one. While the tools you use are certainly in the SciPy toolstack the application was not entirely in the domain of the attendees we typically have at SciPy. This along with the fact that we had many really good workshops that were submitted made it hard to select your proposal this time -- your proposal narrowly missed out. We strongly suggest that you submit this to other more generic Python conferences like the many PyCon and PyData conferences as it may be a much better fit there. We also encourage you to try again next year and if we have a larger audience, we may have space for it next year. This year with two tracks we already have 8 excellent workshops selected.
@@ -806,11 +823,11 @@ Thank You ! \n\nRegards,\nSciPy India 2018,\nFOSSEE - IIT Bombay."""
delete_proposal = request.POST.getlist('delete_proposal')
for proposal_id in delete_proposal:
proposal = Proposal.objects.get(id=proposal_id)
- sender_name = "SciPy India 2018"
+ sender_name = "SciPy India 2019"
sender_email = TO_EMAIL
to = (proposal.user.email, TO_EMAIL)
if proposal.proposal_type == 'ABSTRACT':
- subject = "SciPy India 2018 - Talk Proposal Acceptance"
+ subject = "SciPy India 2019 - Talk Proposal Acceptance"
message = """
Dear {0}, <br><br>
Thank you for your excellent submissions! Your talk has been accepted! This year, we have received many really good submissions. Due to the number and quality of the talks this year we have decided to give 20 minute slots to all the accepted talks. So even though you may have submitted a 30 minute one, we are sorry you will only have 20 minutes. Of these 20 minutes, please plan to do a 15 minute talk (we will strive hard to keep to time), and keep 5 minutes for Q&A and transfer. We will have the next speaker get ready during your Q&A session in order to not waste time.
@@ -820,23 +837,23 @@ Pardon the unsolicited advice but it is important that you plan your presentatio
We (the program chairs) are happy to help you by giving you some early feedback on your slides. Just upload your slides before 26th and we will go over it once. You may upload your slides by clicking on edit when you login to the site. You may also modify your abstract if you want to improve it. For anything submitted after 26th we may not have time to comment but will try to give you feedback. Please also keep handy a PDF version of your talk in case your own laptops have a problem.
Please confirm your participation via return email. The tentative schedule will be put up online by end of day. We look forward to hearing your talk.
-Thank You ! <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+Thank You ! <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
proposal.title,
- 'https://scipy.in/2018/view-abstracts/'
+ 'https://scipy.in/2019/view-abstracts/'
)
elif proposal.proposal_type == 'WORKSHOP':
- subject = "SciPy India 2018 - Workshop Proposal Resubmission"
+ subject = "SciPy India 2019 - Workshop Proposal Resubmission"
message = """
- Thank you for showing interest & submitting a workshop proposal at SciPy India 2018 conference for the workshop titled <b>"{1}"</b>. You are requested to submit this talk proposal once again.<br>
+ Thank you for showing interest & submitting a workshop proposal at SciPy India 2019 conference for the workshop titled <b>"{1}"</b>. You are requested to submit this talk proposal once again.<br>
You will be notified regarding comments/selection/rejection of your workshop via email.
Visit this {2} link to view comments on your submission.<br><br>
- Thank You ! <br><br>Regards,<br>SciPy India 2018,<br>FOSSEE - IIT Bombay.
+ Thank You ! <br><br>Regards,<br>SciPy India 2019,<br>FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
proposal.title,
- 'https://scipy.in/2018/view-abstracts/'
+ 'https://scipy.in/2019/view-abstracts/'
)
email = EmailMultiAlternatives(
subject, '',
@@ -955,7 +972,7 @@ def user_register(request):
key=key
)
- return redirect('/2018/cfp')
+ return redirect('/2019/cfp')
else:
if request.user.is_authenticated:
return redirect('/view_profile/')
@@ -965,9 +982,9 @@ def user_register(request):
)
else:
if request.user.is_authenticated and is_email_checked(request.user):
- return redirect('/2018/view-abstracts/')
+ return redirect('/2019/view-abstracts/')
elif request.user.is_authenticated:
- return redirect('/2018/cfp')
+ return redirect('/2019/cfp')
form = UserRegistrationForm()
return render(request, "user-register.html", {"form": form})
# required for ticket booking