From 752b9eb3bcccb8383a51fcfe8d550e7b5af6a77e Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Mon, 4 May 2020 16:38:33 +0530 Subject: Added form errors and view profile, workshop name bug fixed --- workshop_app/views.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'workshop_app') diff --git a/workshop_app/views.py b/workshop_app/views.py index c823db7..7fdb7f6 100644 --- a/workshop_app/views.py +++ b/workshop_app/views.py @@ -201,7 +201,6 @@ def my_workshops(request): if user.is_authenticated: # View for instructor if is_instructor(user): - print('inst') if request.method == 'POST': client_data = request.POST action = request.POST.get('action') @@ -333,7 +332,6 @@ def propose_workshop(request): ) return redirect('/my_workshops/') # GET request - print(form.errorlist_css_class) return render( request, 'workshop_app/propose_workshop.html', {"form": form} -- cgit