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 <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.