diff options
author | Primal Pappachan | 2012-04-11 12:52:56 +0530 |
---|---|---|
committer | Primal Pappachan | 2012-04-11 12:52:56 +0530 |
commit | 31afa442edf5edcd880f67367b91ef32ed6cf89b (patch) | |
tree | 7e65a87806e4430957bd50ce289c0c960f845290 | |
parent | 9adec90902f59a41b418b19975cfbad2db90f354 (diff) | |
download | aloha-31afa442edf5edcd880f67367b91ef32ed6cf89b.tar.gz aloha-31afa442edf5edcd880f67367b91ef32ed6cf89b.tar.bz2 aloha-31afa442edf5edcd880f67367b91ef32ed6cf89b.zip |
Removed cat_flag check
-rw-r--r-- | aloha/allotter/views.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/aloha/allotter/views.py b/aloha/allotter/views.py index a91b5e5..344669f 100644 --- a/aloha/allotter/views.py +++ b/aloha/allotter/views.py @@ -61,10 +61,7 @@ def submit_details(request): Get the secondary email address, phone number and save it to the Profile. """ user = request.user - category = user.get_profile().application.cgy #Getting the Category information - #Flag set based on OBC Check - if category == "B": cat_flag = True - else: cat_flag = False + if request.method == "POST": form = UserDetailsForm(user, request.POST) if form.is_valid(): @@ -76,7 +73,7 @@ def submit_details(request): else: form = UserDetailsForm(request.user) - context = {"form": form, "cat_flag": cat_flag} + context = {"form": form} return render(request, 'allotter/details.html', context) def get_details(user, error_message = ""): |