moins de print qui se baladent

This commit is contained in:
Aurélien Delobelle 2016-08-15 12:15:11 +02:00
parent 70eab07b8b
commit 39af9afd5b
2 changed files with 0 additions and 3 deletions

View file

@ -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))

View file

@ -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) })