Please have a look at this tutorial on how to retrieve data from models.
http://www.learningaboutelectronics.com/Articles/How-to-retrieve-all-objects-of-a-database-table-in-Django.php

You need to create a model in your models.py then use views.py to retrieve
it.
use a context in your views to pull multiple records  e.g

destinations =  Destinations.objects.all()
context = {
     'destinations':destinations
}






*Regards,Gilwell Muhati | +254 710 739 116 | *
*~~“The mind is its own place and in itself can make a heaven of hell, a
hell of heaven…”~~John Milton *


On Tue, Jul 23, 2019 at 9:20 AM Mukul Dharwala <[email protected]>
wrote:

>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALO4FhFv53j5JMvFT%2Bgjp0bND30SkPofmtTGWJSMPmj_97u6cg%40mail.gmail.com.

Reply via email to