forked from DGNum/gestioCOF
moins de print qui se baladent
This commit is contained in:
parent
70eab07b8b
commit
39af9afd5b
2 changed files with 0 additions and 3 deletions
|
@ -44,7 +44,6 @@ def account_create(request):
|
||||||
)
|
)
|
||||||
|
|
||||||
queries['kfet'] = queries['kfet'].distinct()
|
queries['kfet'] = queries['kfet'].distinct()
|
||||||
print(queries['kfet'])
|
|
||||||
|
|
||||||
usernames = list( \
|
usernames = list( \
|
||||||
queries['kfet'].values_list('cofprofile__user__username', flat=True))
|
queries['kfet'].values_list('cofprofile__user__username', flat=True))
|
||||||
|
|
|
@ -793,6 +793,4 @@ def kpsul_articles_data(request):
|
||||||
Article.objects
|
Article.objects
|
||||||
.values('id', 'name', 'price', 'stock', 'category_id', 'category__name')
|
.values('id', 'name', 'price', 'stock', 'category_id', 'category__name')
|
||||||
.filter(is_sold=True))
|
.filter(is_sold=True))
|
||||||
print(vars(articles))
|
|
||||||
print(type(articles))
|
|
||||||
return JsonResponse({ 'articles': list(articles) })
|
return JsonResponse({ 'articles': list(articles) })
|
||||||
|
|
Loading…
Reference in a new issue