diff options
Diffstat (limited to 'workshop_app/views.py')
-rw-r--r-- | workshop_app/views.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/workshop_app/views.py b/workshop_app/views.py index 65c08b2..391bfe5 100644 --- a/workshop_app/views.py +++ b/workshop_app/views.py @@ -63,6 +63,7 @@ def index(request): # User views +# TODO: Forgot password workflow def user_login(request): """User Login""" user = request.user @@ -186,9 +187,7 @@ def edit_profile(request): form_data.user.save() form_data.save() - return render( - request, 'workshop_app/profile_updated.html' - ) + return redirect('/view_profile/') else: return render(request, 'workshop_app/edit_profile.html') else: @@ -198,6 +197,7 @@ def edit_profile(request): # Workshop views +# TODO: View and comment profile view for instructors @login_required def my_workshops(request): user = request.user @@ -297,6 +297,7 @@ def my_workshops(request): return redirect('/login/') +# TODO: Show terms n conditions of selected ws type @login_required def propose_workshop(request): """Coordinator proposed a workshop and date""" |