diff options
author | CruiseDevice | 2018-10-30 16:22:58 +0530 |
---|---|---|
committer | CruiseDevice | 2018-10-30 16:28:57 +0530 |
commit | 93351735430f50ca89109451c5213667207ab3e1 (patch) | |
tree | 5a4833a64f736076234d2ccb232679210d8b934c | |
parent | 8efa6e714354ed025f4f174abeb04af485b8ed12 (diff) | |
download | sbhs_server-93351735430f50ca89109451c5213667207ab3e1.tar.gz sbhs_server-93351735430f50ca89109451c5213667207ab3e1.tar.bz2 sbhs_server-93351735430f50ca89109451c5213667207ab3e1.zip |
remove widget_tweak and login_required from email activation view functions
-rw-r--r-- | sbhs/templates/slot/create_slot.html | 1 | ||||
-rw-r--r-- | sbhs/views.py | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/sbhs/templates/slot/create_slot.html b/sbhs/templates/slot/create_slot.html index dc76382..9d1479c 100644 --- a/sbhs/templates/slot/create_slot.html +++ b/sbhs/templates/slot/create_slot.html @@ -1,7 +1,6 @@ {% extends "account/home.html" %} {% load staticfiles %} {% load custom_filter %} -{% load widget_tweaks %} {% block title %} Book Slot {% endblock %} diff --git a/sbhs/views.py b/sbhs/views.py index 61069f9..4973b0d 100644 --- a/sbhs/views.py +++ b/sbhs/views.py @@ -8,7 +8,6 @@ import inspect import pytz import requests import subprocess, zipfile -# import serial from textwrap import dedent from time import gmtime, strftime import time as tm @@ -20,7 +19,6 @@ from django.db import connection from django.utils import timezone from django.db.models import Count from django.contrib.auth.models import User -# import automatic_slot_booking from django.contrib import messages from django.template.loader import render_to_string from django.views.decorators.csrf import csrf_exempt @@ -185,7 +183,6 @@ def user_register(request): else: return redirect('account_enter') -@login_required def activate_user(request, key): """ Verify user account from the generated activation key user received @@ -247,7 +244,6 @@ def new_activation(request, email=None): context['activation_msg'] = "Your account is already verified" return render(request,'account/activation_status.html',{}) -@login_required def update_email(request): """ Updates user email_id |