How to query model list from one app to another django?

I am facing an issue in django.

I have two apps in my project booking and Home, in the booking I have a model called Clinics that has data related to clinics in the home app I am creating a template that shows clinics list I used {% if clinics_list%} to query the data into the model but nothing shows up


1.clinics list has data 2.I imported the clinics model into home app in issues were detected when running check

Tried to create new model(test) in home app that inherit the data from clinics and used {% if test_list %}

Back to Top