summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-09 10:50:59 +0530
committerPrimal Pappachan2012-03-09 10:50:59 +0530
commit313f9bcbb0366b0ed0bc6272bd25c9fe0e470fbf (patch)
treec96e4fc62fe3e7bf65697b7e948acb4c034bdac6
parent8f49201fca1e7a8cf4c767285e6c05534095b12a (diff)
downloadaloha-313f9bcbb0366b0ed0bc6272bd25c9fe0e470fbf.tar.gz
aloha-313f9bcbb0366b0ed0bc6272bd25c9fe0e470fbf.tar.bz2
aloha-313f9bcbb0366b0ed0bc6272bd25c9fe0e470fbf.zip
added dummy views for submit and quit
-rw-r--r--allotter/views.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/allotter/views.py b/allotter/views.py
index 52d1d0e..11137ed 100644
--- a/allotter/views.py
+++ b/allotter/views.py
@@ -6,7 +6,7 @@ from django.template import RequestContext
from django.http import Http404
from allotter.models import Profile, Option, Exam
-from allotter.forms import RegistrationForm, UserLoginForm
+from allotter.forms import RegistrationForm, UserLoginForm#, ApplicationForm
from settings import URL_ROOT
@@ -77,9 +77,16 @@ def apply(request):
user_profile = user.get_profile()
subject = user_profile.exam_code
options_available = Option.objects.filter(exam__exam_name=subject).distinct()
+ #form = ApplicationForm(user)
context = {'user': user, 'subject': subject,
'options' : options_available}
ci = RequestContext(request)
return render_to_response('allotter/apply.html', context,
context_instance=ci)
+
+def submit(request):
+ pass
+
+def quit(request):
+ pass