This is how you run a basic model (database) query in Django

  
python manage.py shell

from django.db import models
  
from <app>.models import 

<table>
  <table>
    .objects.all()<br /> 

</p>