I am passing PatientHistory type class object to template
PatientHistory has patient which is of type record.
so inturn when I receive PatientHistory as parameter to template, i.e.
patient, it inturn has patient.patient.patient_id

but even after ignoring patient_id,
{{patient.date}} is also not getting displayed.

so wondering how to get the details..

On Jul 25, 1:11 am, Marek Dudek <marek.du...@gmail.com> wrote:
> I think that the problem is that you use "patient_id" instead of "id" in
> template.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to