diff options
author | pnshiralkar | 2020-05-04 16:38:33 +0530 |
---|---|---|
committer | pnshiralkar | 2020-05-04 16:38:33 +0530 |
commit | 752b9eb3bcccb8383a51fcfe8d550e7b5af6a77e (patch) | |
tree | be73b2411750cd0be6581698920fcc9802507027 /workshop_app | |
parent | d380ab3f8f0c721bc80fc321119817606d9d8666 (diff) | |
download | workshop_booking-752b9eb3bcccb8383a51fcfe8d550e7b5af6a77e.tar.gz workshop_booking-752b9eb3bcccb8383a51fcfe8d550e7b5af6a77e.tar.bz2 workshop_booking-752b9eb3bcccb8383a51fcfe8d550e7b5af6a77e.zip |
Added form errors and view profile, workshop name bug fixed
Diffstat (limited to 'workshop_app')
-rw-r--r-- | workshop_app/views.py | 2 |
1 files changed, 0 insertions, 2 deletions
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} |