Remove useless prints

This commit is contained in:
Gregory Soutade 2016-06-13 18:26:38 +02:00
parent ff010746a3
commit 9a41eb2f49

View File

@ -226,12 +226,9 @@ def edit_category(request, category_id):
@login_required
def preferences(request):
print request.method
if request.method != 'POST':
raise Http404
print request.POST.items()
if 'get' in request.POST and 'name' in request.POST:
return request.user.getPreference(request.POST['name'])
elif 'set' in request.POST and 'name' in request.POST and \