summaryrefslogtreecommitdiff
path: root/workshop_app
diff options
context:
space:
mode:
authorpnshiralkar2020-05-04 16:38:33 +0530
committerpnshiralkar2020-05-04 16:38:33 +0530
commit752b9eb3bcccb8383a51fcfe8d550e7b5af6a77e (patch)
treebe73b2411750cd0be6581698920fcc9802507027 /workshop_app
parentd380ab3f8f0c721bc80fc321119817606d9d8666 (diff)
downloadworkshop_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.py2
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}