summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nccps2018/settings.py4
-rwxr-xr-xwebsite/forms.py4
-rw-r--r--website/views.py8
3 files changed, 8 insertions, 8 deletions
diff --git a/nccps2018/settings.py b/nccps2018/settings.py
index 5d148a4..a54eaf4 100644
--- a/nccps2018/settings.py
+++ b/nccps2018/settings.py
@@ -131,6 +131,6 @@ STATICFILES_DIRS = [
'/../static/',
]
-LOGIN_REDIRECT_URL = '/nccps-2018/proposal'
-LOGOUT_REDIRECT_URL = '/nccps-2018/accounts/login'
+LOGIN_REDIRECT_URL = '/proposal'
+LOGOUT_REDIRECT_URL = '/accounts/login'
LOG_FOLDER= os.path.join(BASE_DIR,'logs')
diff --git a/website/forms.py b/website/forms.py
index 7999dea..67bfc9f 100755
--- a/website/forms.py
+++ b/website/forms.py
@@ -170,8 +170,8 @@ class ProposalForm(forms.ModelForm):
if not ext in valid_extensions:
raise forms.ValidationError(
u'File not supported! Only .pdf file is accepted')
- if attachment.size > (5*1024*1024):
- raise forms.ValidationError('File size exceeds 5MB')
+ if attachment.size > (10*1024*1024):
+ raise forms.ValidationError('File size exceeds 10MB')
return attachment
diff --git a/website/views.py b/website/views.py
index f081617..444c8f9 100644
--- a/website/views.py
+++ b/website/views.py
@@ -227,14 +227,14 @@ def submitcfp(request):
to = (social_user.email, TO_EMAIL)
message = """
Dear {0}, <br><br>
- Thank you for showing interest & submitting a talk proposal at NCCPS 2018 conference for the talk 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 talk via email.
+ Thank you for showing interest & submitting a paper proposal at NCCPS 2018 conference for the paper 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 paper via email.
Visit this {2} link to view status of your submission.
<br>Thank You ! <br><br>Regards,<br>NCCPS 2018,<br>FOSSEE - IIT Bombay.
""".format(
social_user.first_name,
request.POST.get('title', None),
- 'http://dwsim.fossee.in/2018/view-abstracts/',)
+ 'http://dwsim.fossee.in/nccps-2018/view-abstracts/',)
email = EmailMultiAlternatives(
subject, '',
sender_email, to,
@@ -254,7 +254,7 @@ def submitcfp(request):
return render(request, 'submit-cfp.html', {'proposal_form': form})
else:
context['login_required'] = True
- return render_to_response('cfp.html', context)
+ return render_to_response('login.html', context)
@csrf_protect