Remove useless prints
This commit is contained in:
parent
ff010746a3
commit
9a41eb2f49
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user