Answer the question
In order to leave comments, you need to log in
Django print received data from database?
In viewe, I wrote a function that takes data from the table
def show_form_cat(request,url):
category=Category.objects.get(url__exact=url)
Question: how to print the data that I received from the database without sending it to the template? because when I do print gives an error that there is no return to the template
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question