Monday, April 27, 2020

Re:

You can create a function based view  or class based view (views.py) where you can have our own queryset to retrieve the data from database.
And pass the same into the html. 

Thanks & Regards,
---------------------
Mayank Tripathi
"Do what you can, with what you have, where you are -by Theodore Roosevelt"



On Mon, Apr 27, 2020 at 7:11 PM fahad rasool <rasoolfahad630@gmail.com> wrote:
How to retrieve data from database and display on web page ,example i want to display the details of the user on  a web page which he has entered in a form which is stored in database.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACqgSmA0Cjjx8S_SqeGF1wBDQggGAXszKdApOD45-1CPBPXG0g%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALQo0B_3KJ6Vhr0XYrRAZdMPEjyseAp8%2Brj%3DPrQhtJ96ngEQ4Q%40mail.gmail.com.

No comments:

Post a Comment