From 39af9afd5b97460e73d73f0dd5ab661adab7c4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Mon, 15 Aug 2016 12:15:11 +0200 Subject: [PATCH] moins de print qui se baladent --- kfet/autocomplete.py | 1 - kfet/views.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/kfet/autocomplete.py b/kfet/autocomplete.py index eaee1fbd..bce0210a 100644 --- a/kfet/autocomplete.py +++ b/kfet/autocomplete.py @@ -44,7 +44,6 @@ def account_create(request): ) queries['kfet'] = queries['kfet'].distinct() - print(queries['kfet']) usernames = list( \ queries['kfet'].values_list('cofprofile__user__username', flat=True)) diff --git a/kfet/views.py b/kfet/views.py index b7623708..6ffee3f5 100644 --- a/kfet/views.py +++ b/kfet/views.py @@ -793,6 +793,4 @@ def kpsul_articles_data(request): Article.objects .values('id', 'name', 'price', 'stock', 'category_id', 'category__name') .filter(is_sold=True)) - print(vars(articles)) - print(type(articles)) return JsonResponse({ 'articles': list(articles) })