Re: Print data from Database in Django

2019-05-05 Thread anchal agarwal
Thanks alot , it worked !! On 05-May-2019 7:43 pm, "Thomas Lockhart" wrote: > Your context variable for all students is “stud”. Try changing that to > “Student” as you refer to it in your template. > > - Tom > > On May 5, 2019, at 7:09 AM, anchal agarwal > wrote: > > I want to display the name

Re: Print data from Database in Django

2019-05-05 Thread Thomas Lockhart
Your context variable for all students is “stud”. Try changing that to “Student” as you refer to it in your template. - Tom > On May 5, 2019, at 7:09 AM, anchal agarwal wrote: > > I want to display the name of all the students from the Student model using > cards , i have set it all up but

Print data from Database in Django

2019-05-05 Thread anchal agarwal
I want to display the name of all the students from the Student model using cards , i have set it all up but it isn't displaying anything, here are my files models.py from django.db import models from django.utils import timezone from datetime import date from ckeditor.fields import