# Need input for issue #29574

**URL:** <https://forum.djangoproject.com/t/need-input-for-issue-29574/17203>\
**Category:** Mentorship\
**Created:** [November 22, 2022, 8:38pm UTC](https://forum.djangoproject.com/t/need-input-for-issue-29574/17203 "2022-11-22T20:38:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevilsAutumn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/devilsautumn/32/10408_2.png) [@DevilsAutumn](https://forum.djangoproject.com/u/DevilsAutumn)\
**Post date:** [November 22, 2022, 8:38pm UTC](https://forum.djangoproject.com/t/need-input-for-issue-29574/17203/1 "2022-11-22T20:38:39Z")

</div>

Hi,  
I was working on [Ticket #29574](https://code.djangoproject.com/ticket/29574) and i am trying to get list of all the models that are referencing to a model. Is there any inbuilt method to do so?

Thanks

---

<div class="post-metadata">

**Author:** ![BridgstoneicRhett](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/bridgstoneicrhett/32/13551_2.png) [@BridgstoneicRhett](https://forum.djangoproject.com/u/BridgstoneicRhett)\
**Post date:** [May 4, 2023, 11:14am UTC](https://forum.djangoproject.com/t/need-input-for-issue-29574/17203/2 "2023-05-04T11:14:24Z")

</div>

Let suppose[:](https://reminiapk.net/) if you are working with Django, you can use the `get_all_related_models()` method to get a list of all the models that have a foreign key or many-to-many relationship with a particular model.
